what abt other classes? like Zend_Validate?


Giorgio Sironi wrote:
> 
> 2009/5/5 iceangel89 <[email protected]>
> 
>> function __construct($var1, $var2 ...) {} with as many variables as i
>> like?
>> will my constructor affect the default behaviour of the class?
>>
>> eg. function filter($var1, $var2 = 'something') {}
>>
> 
> If you define a new filter that implements Zend_Filter_Interface, you can
> define whatever __construct() method you want, and create internally
> filters
> that does the job.
> 
> 
> -- 
> Giorgio Sironi
> Piccolo Principe & Ossigeno Scripter
> http://ossigeno.sourceforge.net
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Extending-Zend-Framework-classes-tp23383837p23426791.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to