예제 #1
0
 /**
  * Returns an array containing, for each field, the arary key used for that
  * field in self::$_fields.
  *
  * @return array
  */
 static function &fieldKeys()
 {
     if (!self::$_fieldKeys) {
         self::$_fieldKeys = array('id' => 'id', 'option_group_id' => 'option_group_id', 'label' => 'label', 'value' => 'value', 'name' => 'name', 'grouping' => 'grouping', 'filter' => 'filter', 'is_default' => 'is_default', 'weight' => 'weight', 'description' => 'description', 'is_optgroup' => 'is_optgroup', 'is_reserved' => 'is_reserved', 'is_active' => 'is_active', 'component_id' => 'component_id', 'domain_id' => 'domain_id', 'visibility_id' => 'visibility_id');
     }
     return self::$_fieldKeys;
 }