/** * @return void */ public function __construct() { parent::__construct(); App::import('Config', 'Shortcodes'); }
/** * @param string $id * @return bool */ public function remove($id) { if (!$id) { return false; } $optionId = $this->gummOptionId(self::OPTION_ID); $skins = $this->find('all'); if (isset($skins[$id])) { unset($skins[$id]); $this->id = $optionId; $this->mergeOnSave = false; return parent::save($skins); } return false; }
/** * @return void */ public function __construct() { parent::__construct(); $this->_texturesPath = GUMM_TEMPLATEPATH . DS . 'images' . DS . 'textures'; }