blueprints()->toArray()); parent::__construct($data, $package_type); $this->settings = $package->toArray(); $html_description = Parsedown::instance()->line($this->__get('description')); $this->data->set('slug', $package->__get('slug')); $this->data->set('description_html', $html_description); $this->data->set('description_plain', strip_tags($html_description)); $this->data->set('symlink', is_link(USER_DIR . $package_type . DS . $this->__get('slug'))); } /** * @return mixed */ public function isEnabled() { return $this->settings['enabled']; } }