File_Passwd_Unix::setMap()

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

Synopsis

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

Beschreibung

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.

Parameter

array $map

the 'name map'

Rückgabewert

Gibt bei Erfolg TRUE zurück, bei einem Fehler ein Objekt der Klasse PEAR_Error.

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

Siehe auch

See File_Passwd_Unix::useMap()

See File_Passwd_Unix::getMap()

Hinweise

Diese Methode kann nicht statisch aufgerufen werden.