Perforce Chronicle 2012.2/486814
API Documentation

Widget_IframeWidgetController Class Reference

A widget that displays an arbitrary iframe in a region. More...

Inheritance diagram for Widget_IframeWidgetController:
P4Cms_Widget_ControllerAbstract

List of all members.

Public Member Functions

 indexAction ()
 Output the widget's HTML.

Static Public Member Functions

static getConfigSubForm ($widget)
 Get config sub-form to present additional options when configuring a widget of this type.

Detailed Description

A widget that displays an arbitrary iframe in a region.

Copyright:
2011-2012 Perforce Software. All rights reserved
License:
Please see LICENSE.txt in top-level folder of this distribution.
Version:
2012.2/486814

Member Function Documentation

static Widget_IframeWidgetController::getConfigSubForm ( widget) [static]

Get config sub-form to present additional options when configuring a widget of this type.

Parameters:
P4Cms_Widget$widgetthe widget instance being configured.
Returns:
Zend_Form_SubForm|null the sub-form to integrate into the default widget config form or null for no sub-form.
    {
        return new Widget_Form_IframeWidget;
    }
Widget_IframeWidgetController::indexAction ( )

Output the widget's HTML.

    {
        $this->view->widget = $this->_getWidget();
    }

The documentation for this class was generated from the following file: