コード例 #1
0
ファイル: Case.php プロジェクト: agroknow/mermix
 /**
  * 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' => 'case_id', 'case_type_id' => 'case_type_id', 'subject' => 'case_subject', 'start_date' => 'case_start_date', 'end_date' => 'case_end_date', 'details' => 'details', 'status_id' => 'case_status_id', 'is_deleted' => 'case_deleted');
     }
     return self::$_fieldKeys;
 }