/** * 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', 'entity_table' => 'entity_table', 'entity_id' => 'entity_id', 'membership_types' => 'membership_types', 'membership_type_default' => 'membership_type_default', 'display_min_fee' => 'display_min_fee', 'is_separate_payment' => 'is_separate_payment', 'new_title' => 'new_title', 'new_text' => 'new_text', 'renewal_title' => 'renewal_title', 'renewal_text' => 'renewal_text', 'is_required' => 'is_required', 'is_active' => 'is_active'); } return self::$_fieldKeys; }