Redefining base class functions?

[email protected] (Benjamin Smith) Fri, 13 Jun 2008 14:48:42 -0700
Newsgroups php.gtk.general
Message-ID <[email protected]>
Is there a way (PHP-GTK1) to redefine a base class method? Specifically, I 
need to change set_usize() so that the values for X and Y can be 
recalculated. The function I'm envisioning might look like: 

define('SIZEMULTIPLIER', 1.5); 
... snip ...
function set_usize($x, $y) 
{ 
return 
 parent::set_usize(round($x * SIZEMULTIPLIER), round($y * SIZEMULTIPLIER)); 
} 

So far, I'm drawing blanks. Is this possible? Any ideas? 

Thanks, 

Ben 
--
Only those who reach toward a goal are likely to achieve it. 

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.