Expand|Select|Wrap|Line Numbers
- $other->setDecorators(array(
- 'Description' ,
- 'Label' ,
- array(
- array('divLabel' => 'HtmlTag') ,
- array('tag' => 'div' , 'class' => 'fieldItemLabel')
- ) ,
- array(
- array('divInput' => 'HtmlTag') ,
- array('tag' => 'div' ,
- 'class' => 'fieldItemValue',
- 'openOnly' => true,
- 'placement' => Zend_Form_Decorator_Abstract::APPEND)
- ),
- 'ViewHelper',
- 'Errors',
- array(
- array('divInputClose' => 'HtmlTag') ,
- array('tag' => 'div' ,
- 'closeOnly' => true,
- 'placement' => Zend_Form_Decorator_Abstract::APPEND)
- ),
- array(
- array('divField' => 'HtmlTag') ,
- array('tag' => 'div' , 'class' => 'field80Pct')
- ),
- array(
- array('divClear' => 'HtmlTag') ,
- array('tag' => 'div' ,
- 'class' => 'clear',
- 'placement' => Zend_Form_Decorator_Abstract::APPEND)
- ),
- ));
i am new to zend . can anyone just explain me how this code will be executed and how do i tell tht the class is for labels or for values or for whole element ! and what does it mean 'ViewHelper' and 'Errors' . where are the code for these 2 elements.
I dono if i can ask zend question here .since it was php ,asking here.If its not allowed please discard the question.