-- iceangel89 <comet2...@gmail.com> wrote
(on Thursday, 07 May 2009, 06:35 AM -0700):
> 
> what abt other classes? like Zend_Validate?

Zend_Validate defines an interface (Zend_Validate_Interface), and a
standard abstract base class (Zend_Validate_Abstract). These are covered
in the manual.

> Giorgio Sironi wrote:
> > 2009/5/5 iceangel89 <comet2...@gmail.com>
> > > 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.

-- 
Matthew Weier O'Phinney
Project Lead            | matt...@zend.com
Zend Framework          | http://framework.zend.com/

Reply via email to