Esempio n. 1
0
 /**
  * Save a field group instance to cache.
  * 
  * @param Types_Field_Group $field_group
  */
 private function save_to_cache($field_group)
 {
     $this->field_groups[$field_group->get_slug()] = $field_group;
 }
Esempio n. 2
0
 /**
  * Get the db identifier (uses slug of group)
  *
  * @return string
  */
 protected function get_db_identifier()
 {
     return sprintf($this->get_db_pattern(), $this->group->get_slug());
 }