protected function fetch_datas_cache() { $tmp = vedette_cache::get_at_vedette_cache($this); if ($tmp) { $this->restore($tmp); } else { $this->set_vedette_element_from_database(); vedette_cache::set_at_vedette_cache($this); } }