array('title'=>'test'));
Neither works, just shows me '<br/> <hr/>' and not 'title'
Thanks Matthew
Matthew Weier O'Phinney-3 wrote:
>
> -- Benjamin.Gonzales <iadvmc@yahoo.com> wrote
> (on Monday, 01 September 2008, 08:41 AM -0700):
>> I send you as the parameter to the method setTitle?
>>
>>
>> if I do it this way does not work
>> $element->addDecorator(new My_Form_Decorator_separator(),
>> array('title','test'));
>
> That should be array('title' => 'test') -- in other words, make sure you
> pass an *associative* array.
>
>> I send you as the parameter to the method setTitle?
>
> --
> Matthew Weier O'Phinney
> Software Architect | matthew@zend.com
> Zend Framework | http://framework.zend.com/
>
>
--
View this message in context: http://www.nabble.com/Custom-Form-Decorator-tp19256766p19257366.html
Sent from the Zend MVC mailing list archive at Nabble.com.
没有评论:
发表评论