Bitrix API

PersonNameFormatter

Table of Contents

Constants

Dflt  = 1
FirstLast  = 2
FirstLastFormat  = '#NAME# #LAST_NAME#'
FirstSecondLast  = 3
FirstSecondLastFormat  = '#NAME# #SECOND_NAME# #LAST_NAME#'
HonorificLast  = 6
HonorificLastFormat  = '#TITLE# #LAST_NAME#'
LastFirst  = 4
LastFirstFormat  = '#LAST_NAME# #NAME#'
LastFirstSecond  = 5
LastFirstSecondFormat  = '#LAST_NAME# #NAME# #SECOND_NAME#'
Undefined  = 0

Methods

getAllDescriptions()  : mixed
getFormat()  : mixed
getFormatByID()  : mixed
getFormatID()  : mixed
hasFirstName()  : mixed
hasLastName()  : mixed
hasSecondName()  : mixed
isDefined()  : mixed
setFormatID()  : mixed
tryParseFormatID()  : mixed
tryParseName()  : mixed

Constants

FirstSecondLastFormat

public mixed FirstSecondLastFormat = '#NAME# #SECOND_NAME# #LAST_NAME#'

LastFirstSecondFormat

public mixed LastFirstSecondFormat = '#LAST_NAME# #NAME# #SECOND_NAME#'

Methods

getFormatByID()

public static getFormatByID(mixed $formatID) : mixed
Parameters
$formatID : mixed

hasFirstName()

public static hasFirstName(mixed $format) : mixed
Parameters
$format : mixed

hasLastName()

public static hasLastName(mixed $format) : mixed
Parameters
$format : mixed

hasSecondName()

public static hasSecondName(mixed $format) : mixed
Parameters
$format : mixed

isDefined()

public static isDefined(mixed $formatID) : mixed
Parameters
$formatID : mixed

setFormatID()

public static setFormatID(mixed $formatID) : mixed
Parameters
$formatID : mixed

tryParseFormatID()

public static tryParseFormatID(mixed $format[, mixed $defaultFormatID = '' ]) : mixed
Parameters
$format : mixed
$defaultFormatID : mixed = ''

tryParseName()

public static tryParseName(mixed $name, mixed $formatID, mixed &$nameParts) : mixed
Parameters
$name : mixed
$formatID : mixed
$nameParts : mixed

        
On this page

Search results