i am learning zend framework and intending to extend some classes like for
validation and filter.

sometimes, i may need more parameters like in validation i may want the say
something like 

%label% (eg. Username) is Required > is there a standard way of getting the
label of a Zend_Form_Element?

anyway other times i may need some variables passed in by say the
controller/Zend_Form can i safely say that i can declare the constructor
like 

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') {}
-- 
View this message in context: 
http://www.nabble.com/Extending-Zend-Framework-classes-tp23383837p23383837.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to