Esempio n. 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', 'domain_id' => 'domain_id', 'name' => 'membership_type', 'description' => 'description', 'member_of_contact_id' => 'member_of_contact_id', 'financial_type_id' => 'financial_type_id', 'minimum_fee' => 'minimum_fee', 'duration_unit' => 'duration_unit', 'duration_interval' => 'duration_interval', 'period_type' => 'period_type', 'fixed_period_start_day' => 'fixed_period_start_day', 'fixed_period_rollover_day' => 'fixed_period_rollover_day', 'relationship_type_id' => 'relationship_type_id', 'relationship_direction' => 'relationship_direction', 'max_related' => 'max_related', 'visibility' => 'visibility', 'weight' => 'weight', 'receipt_text_signup' => 'receipt_text_signup', 'receipt_text_renewal' => 'receipt_text_renewal', 'auto_renew' => 'auto_renew', 'is_active' => 'is_active');
     }
     return self::$_fieldKeys;
 }