Example #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', 'name' => 'name', 'description' => 'description', 'start' => 'start', 'end' => 'end', 'date_format' => 'date_format', 'time_format' => 'time_format');
     }
     return self::$_fieldKeys;
 }