/** * Add a view to the display * * When adding a view, use the RocketSled pathing standard: * <code>package.sub_package.ViewName</code> * which would correspond to /packages/package/sub_packageview_name.rsml.php * @param name - the name of the view. this will be used as the 'name' attribute * of the <view> node in your RSML document * @see RsmlView */ public function addView($name, $value) { $view = RsmlView::load($value); $this->views[$name] = $view; $this->getWidgets($view); }