protected function _save(array $values)
 {
     foreach ($values as $key => $value) {
         $this->_review_items[$key] = $value;
     }
     $this->_option->set(self::OPTION_KEY, $this->_review_items);
     return true;
 }
Exemple #2
0
 /**
  * Save the path to the CSS file or false to load standard CSS
  */
 private function save_less_parse_time($data = false)
 {
     $to_save = is_string($data) ? $data : $this->_registry->get('date.system')->current_time();
     $this->db_adapter->set(self::QUERY_STRING_PARAM, $to_save, true);
 }