/ */ class Widget_IframeWidgetController extends P4Cms_Widget_ControllerAbstract { /** * Output the widget's HTML */ public function indexAction() { $this->view->widget = $this->_getWidget(); } /** * Get config sub-form to present additional options when * configuring a widget of this type. * * @param P4Cms_Widget $widget the widget instance being configured. * @return Zend_Form_SubForm|null the sub-form to integrate into the default * widget config form or null for no sub-form. */ public static function getConfigSubForm($widget) { return new Widget_Form_IframeWidget; } }