File_Passwd_Unix::setMap()

File_Passwd_Unix::setMap() -- Set 'name map'

Synopsis

mixed File_Passwd_Unix::setMap ([mixed $map = array()])

Opis

Set the 'name map' to use with the extra properties of the user.

This map is used for naming the associative array of the extra properties.

Parametr

array $map

the 'name map'

Zwracana wartość

Zwraca TRUE w przypadku powodzenia, PEAR_Error w przypadku niepowodzenia.

Returns PEAR_Error FILE_PASSWD_E_PARAM_MUST_BE_ARRAY, if the supplied 'name map' was not of type array.

Zobacz

See File_Passwd_Unix::useMap()

See File_Passwd_Unix::getMap()

Uwagi

Ta funkcja nie może być wywołana statycznie.