-- Matthew Weier O'Phinney <[EMAIL PROTECTED]> wrote
(on Friday, 07 March 2008, 05:31 PM -0500):
> -- gammamatrix <[EMAIL PROTECTED]> wrote
> (on Friday, 07 March 2008, 02:01 PM -0800):
> > 
> > 15.3.9. Custom Elements
> > 
> >     class __construct($name, $options = null)
> > 
> > should be 
> > 
> >     public function __construct($name, $options = null)
> > 
> > <?php
> > class My_Element_Text extends Zend_Form_Element
> > {
> >     class __construct($name, $options = null)
> >     {
> >         $this->addPrefixPath('My_Decorator', 'My/Decorator/', 'decorator')
> >              ->addFilters('StringTrim')
> >              ->addValidator('Regex', false, array('/^[a-z0-9]{6,}$/i'))
> >              ->addDecorator('TextItem');
> >         parent::__construct($name, $options);
> >     }
> > }
> > ?>
> > 
> > I have not created an issue - I do not know how to do so.
> 
> Thanks for the report; I've noted it, and will attempt to fix tonight.

Fixed in trunk; will be published when we release next.

-- 
Matthew Weier O'Phinney
PHP Developer            | [EMAIL PROTECTED]
Zend - The PHP Company   | http://www.zend.com/

Reply via email to