dolibarr
19.0.0-dev
|
File of the superclass of object classes that support people. More...
Go to the source code of this file.
Functions | |
getFullName ($langs, $option=0, $nameorder=-1, $maxlen=0) | |
Return full name (civility+' '+name+' '+lastname) More... | |
setUpperOrLowerCase () | |
Set to upper or ucwords/lower if needed. More... | |
Variables | |
trait | CommonPeople |
Superclass for thirdparties, contacts, members or users. | |
File of the superclass of object classes that support people.
Definition in file commonpeople.class.php.
getFullName | ( | $langs, | |
$option = 0 , |
|||
$nameorder = -1 , |
|||
$maxlen = 0 |
|||
) |
Return full name (civility+' '+name+' '+lastname)
Translate | $langs | Language object for translation of civility (used only if option is 1) |
int | $option | 0=No option, 1=Add civility |
int | $nameorder | -1=Auto, 0=Lastname+Firstname, 1=Firstname+Lastname, 2=Firstname, 3=Firstname if defined else lastname, 4=Lastname, 5=Lastname if defined else firstname |
int | $maxlen | Maximum length |
Definition at line 62 of file commonpeople.class.php.
setUpperOrLowerCase | ( | ) |
Set to upper or ucwords/lower if needed.
Definition at line 267 of file commonpeople.class.php.