public function render() { $args = array('label' => $this->label, 'msg' => $this->message); if (isset($this->button)) { $args['button'] = (object) $this->button; } if (isset($this->message_type)) { $args['message_type'] = $this->message_type; } $this->ai1ec_view_helper->display_admin('admin_notices.php', $args); }
/** * (non-PHPdoc) * @see Ai1ec_Renderable::render() */ public function render() { $args = array('component' => $this, 'class' => $this->class); $this->view_helper->display_admin('base_tabs.php', $args); }