/** * 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', 'name' => 'hrabsence_name', 'title' => 'hrabsence_title', 'is_active' => 'is_active', 'allow_credits' => 'allow_credits', 'credit_activity_type_id' => 'credit_activity_type_id', 'allow_debits' => 'allow_debits', 'debit_activity_type_id' => 'debit_activity_type_id'); } return self::$_fieldKeys; }