public function fetch_img_size($attr_name) { return parent::s_attribute_img_size_config($attr_name); }
/** * Enregistre la configuration des googletools * @param $create */ private function save($create) { if (isset($this->webmaster)) { $tools = 'webmaster'; } elseif (isset($this->analytics)) { $tools = 'analytics'; } elseif (isset($this->googleplus)) { $tools = 'googleplus'; } elseif (isset($this->robots)) { $tools = 'robots'; } switch ($tools) { case 'webmaster': parent::u_setting_value('webmaster', $this->webmaster); break; case 'analytics': parent::u_setting_value('analytics', $this->analytics); break; case 'googleplus': parent::u_setting_value('googleplus', $this->googleplus); break; case 'robots': parent::u_setting_value('robots', $this->robots); break; } $this->message->getNotify('update'); }
/** * Retourne les valeurs suivant l'attribut sous forme d'un tableau pour les tailles images * @param $attr_name * @param $config_size_attr * @param $type * @return array */ public function dataImgSize($attr_name, $config_size_attr, $type) { $dbconfig = new backend_db_config(); return $dbconfig->s_img_size_data($attr_name, $config_size_attr, $type); }
/** * Mise à jour du gestionnaire de cache * @param $create */ private function update_cache_data($create) { if (isset($this->cache)) { parent::u_setting_value('cache', $this->cache); $this->message->getNotify('update'); } }