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


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


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.


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.


This function can not be called statically.

Get 'name map' (Previous) File_Passwd_Unix (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.