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
