/ */ class Widgets_IndexController extends P4Cms_Widget_ControllerAbstract { public $contexts = array( 'root-options' => array('partial') ); /** * Display the widget */ public function indexAction() { // make the options available to the view. $options = $this->getOptions(); $this->view->widgetOptions = $options; } }