getModel(); $this->logs = $model->getLogList(); $tag = $model->getState('tag'); if (empty($tag)) { $tag = null; } $this->tag = $tag; // Get profile ID and name $this->profileid = Platform::getInstance()->get_active_profile();; $this->profilename = $this->escape(Platform::getInstance()->get_profile_name($this->profileid)); return true; } /** * Setup the iframe display * * @return boolean */ public function onBeforeIframe() { /** @var Log $model */ $model = $this->getModel(); $tag = $model->getState('tag'); if (empty($tag)) { $tag = null; } $this->tag = $tag; return true; } }