Documentation

getFormattedNameExpr

getFormattedNameExpr($format, $defPrefix);

Generates expression of computed field for the rewriteUserShortName method in accordance with the specified format of the user name. Static method.

Function parameters

Parameter Description
$format User name format.
$defPrefix Prefix of field definition with user name.

Returned value

Array of expression elements to generate a completion time field by user name in the specified format.


© «Bitrix24», 2001-2024
Up