|
Perforce Chronicle 2012.2/486814
API Documentation
|
This is the iframe widget configuration form. More...
Public Member Functions | |
| init () | |
| Defines the elements that make up the widget config form. | |
This is the iframe widget configuration form.
| Widget_Form_IframeWidget::init | ( | ) |
Defines the elements that make up the widget config form.
Called automatically when the form object is created.
{
$this->addElement(
'text',
'iframeSrc',
array(
'label' => 'URL',
'required' => true,
'description' => "Source URL for the iframe element",
)
);
$this->addElement(
'text',
'iframeWidth',
array(
'label' => 'Width',
)
);
$this->addElement(
'text',
'iframeHeight',
array(
'label' => 'Height',
)
);
$this->addElement(
'select',
'iframeScroll',
array(
'label' => 'Show Scrollbars',
'multiOptions' => array(
'auto' => 'Automatically',
'yes' => 'Always',
'no' => 'Never'
)
)
);
}