File_Passwd_Unix::useMap() – Whether to use the 'name map'


boolean File_Passwd_Unix::useMap ( boolean $bool = null )


Whether to use the 'name map' of the extra properties or not.

Default Unix passwd files look like:

The default 'name map' for properties except user and password looks like:

  • uid
  • gid
  • gecos
  • home
  • shell

If you want to change the naming of the standard map use File_Passwd_Unix::setMap().


boolean $bool

whether to use the 'name map' or not

Return value

Returns boolean TRUE if you set a value, or the actual value if called without param.


This function can not be called statically.

Verify password (Previous) Get 'name map' (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.