HcmLinkFieldService
Table of Contents
Constants
-
FIELD_PREFIX
= 'HCMFIELD'
Methods
-
convertHcmLinkIntTypeToLegalInfoType()
: string|null
-
extractCompanyIdFromFieldName()
: int|null
-
getFieldById()
: Field|null
-
getFieldsForSelector()
: array<string|int, mixed>
-
getFieldTypeByName()
: FieldType::*
-
getFieldValue()
: Result|GetFieldValueResult
-
getHcmRequiredFieldSelectorNameByType()
: string|null
-
getSpecialHcmFieldTypeBySignFieldType()
: FieldType|null
-
isAvailable()
: bool
-
parseName()
: HcmLinkFieldParsedName|null
-
requestFieldValues()
: Result|HcmLinkFieldRequestResult
FIELD_PREFIX
public
mixed
FIELD_PREFIX
= 'HCMFIELD'
convertHcmLinkIntTypeToLegalInfoType()
public
convertHcmLinkIntTypeToLegalInfoType(int $type) : string|null
Parameters
-
$type
: int
-
Return values
string|null
public
extractCompanyIdFromFieldName(string $fieldName) : int|null
Parameters
-
$fieldName
: string
-
getFieldById()
public
getFieldById(int $id) : Field|null
Parameters
-
$id
: int
-
getFieldsForSelector()
public
getFieldsForSelector(int $hcmLinkCompanyId[, bool $withEmployee = true ]) : array<string|int, mixed>
Parameters
-
$hcmLinkCompanyId
: int
-
-
$withEmployee
: bool
= true
-
Return values
array<string|int, mixed>
getFieldTypeByName()
public
getFieldTypeByName(string $fieldName) : FieldType::*
Parameters
-
$fieldName
: string
-
Return values
FieldType::*
getFieldValue()
public
getFieldValue(array<string|int, mixed> $employeeIds, array<string|int, mixed> $fieldIds) : Result|GetFieldValueResult
Parameters
-
$employeeIds
: array<string|int, mixed>
-
-
$fieldIds
: array<string|int, mixed>
-
getHcmRequiredFieldSelectorNameByType()
public
getHcmRequiredFieldSelectorNameByType(int $integrationId, string $fieldType, int $party) : string|null
Parameters
-
$integrationId
: int
-
-
$fieldType
: string
-
-
$party
: int
-
Return values
string|null
getSpecialHcmFieldTypeBySignFieldType()
public
getSpecialHcmFieldTypeBySignFieldType(string $fieldType) : FieldType|null
Parameters
-
$fieldType
: string
-
isAvailable()
public
isAvailable() : bool
parseName()
public
parseName(string $serializedName) : HcmLinkFieldParsedName|null
Parameters
-
$serializedName
: string
-
requestFieldValues()
public
requestFieldValues(int $companyId, array<string|int, mixed> $employeeIds, array<string|int, mixed> $fieldIds) : Result|HcmLinkFieldRequestResult
Parameters
-
$companyId
: int
-
-
$employeeIds
: array<string|int, mixed>
-
-
$fieldIds
: array<string|int, mixed>
-