|
Perforce Chronicle 2012.2/486814
API Documentation
|
This is the text widget configuration form. More...
Public Member Functions | |
| init () | |
| Defines the elements that make up the text widget config form. | |
This is the text widget configuration form.
| Widget_Form_TextWidget::init | ( | ) |
Defines the elements that make up the text widget config form.
Called automatically when the form object is created.
{
$this->addElement(
'editor',
'text',
array(
'label' => 'Text',
'required' => true,
'description' => "Enter the text to display.",
'attribs' => array(
"height" => 200
)
)
);
$this->getElement('text')
->getDecorator('label')
->setOption(
'helpUri',
Zend_Controller_Front::getInstance()->getBaseUrl()
. '/' . Ui_Controller_Helper_HelpUrl::HELP_BASE_URL . '/'
. 'widgets.macros.html'
);
}