/** * 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', 'openid' => 'openid', 'allowed_to_login' => 'allowed_to_login', 'is_primary' => 'is_primary'); } return self::$_fieldKeys; }