/** * 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', 'mapping_id' => 'mapping_id', 'name' => 'name', 'contact_type' => 'contact_type', 'column_number' => 'column_number', 'location_type_id' => 'location_type_id', 'phone_type_id' => 'phone_type_id', 'im_provider_id' => 'im_provider_id', 'website_type_id' => 'website_type_id', 'relationship_type_id' => 'relationship_type_id', 'relationship_direction' => 'relationship_direction', 'grouping' => 'grouping', 'operator' => 'operator', 'value' => 'value'); } return self::$_fieldKeys; }