/** * 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', 'reference' => 'reference', 'source' => 'source', 'entity_table' => 'entity_table', 'entity_id' => 'entity_id', 'date' => 'date', 'creditor_id' => 'creditor_id', 'contact_id' => 'contact_id', 'iban' => 'iban', 'bic' => 'bic', 'type' => 'type', 'status' => 'status', 'creation_date' => 'creation_date', 'first_contribution_id' => 'first_contribution_id', 'validation_date' => 'validation_date'); } return self::$_fieldKeys; }