File_Passwd_Custom::setMap()

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

Synopsis

mixed File_Passwd_Custom::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.

See

See File_Passwd_Custom::useMap()

See File_Passwd_Custom::getMap()

Note

This function can not be called statically.