Exemple #1
0
 /**
  * Returns an array containing, for each field, the arary key used for that
  * field in self::$_fields.
  *
  * @access public
  * @return array
  */
 static function &fieldKeys()
 {
     if (!self::$_fieldKeys) {
         self::$_fieldKeys = array('id' => 'id', 'booking_id' => 'booking_id', 'resource_id' => 'resource_id', 'config_id' => 'config_id', 'start' => 'start', 'end' => 'end', 'quantity' => 'quantity', 'note' => 'note', 'is_cancelled' => 'is_cancelled', 'is_deleted' => 'is_deleted');
     }
     return self::$_fieldKeys;
 }