Пример #1
0
 /**
  * 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', 'contact_id' => 'contact_id', 'location_type_id' => 'location_type_id', 'is_primary' => 'is_primary', 'is_billing' => 'is_billing', 'mobile_provider_id' => 'mobile_provider_id', 'phone' => 'phone', 'phone_ext' => 'phone_ext', 'phone_numeric' => 'phone_numeric', 'phone_type_id' => 'phone_type_id');
     }
     return self::$_fieldKeys;
 }