File_Passwd_Unix::setMap

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

Synopsis

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

Description

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'

Return value

Returns TRUE on success, PEAR_Error on failure.

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

Note

This function can not be called statically.