Bitrix API

ClientResolver extends ResolverBase

Table of Contents

Constants

PROP_ITIN  = 'ITIN'
PROP_SRO  = 'SRO'
TYPE_COMPANY  = 1
TYPE_PERSON  = 2
TYPE_UNKNOWN  = 0

Methods

getAllowedTypesMap()  : array<string|int, mixed>
getClientResolverPlaceholderText()  : string
getClientResolverPlaceholderTextByTitle()  : string
getClientResolverPlacementParams()  : array<string|int, mixed>|null
getClientResolverPropertyWithPlacements()  : array<string|int, mixed>|null
getDefaultClientResolverApplicationParams()  : mixed
getDetailSearchHandlersByCountry()  : array<string|int, mixed>
getPropertyTypeByCountry()  : mixed
getRestriction()  : mixed
isEnabled()  : mixed
isOnline()  : mixed
isPlacementCodeAllowed()  : mixed
resolve()  : array<string|int, mixed>
resolveClient()  : array<string|int, mixed>
setCompatibilityMode()  : void

Constants

Methods

getAllowedTypesMap()

public static getAllowedTypesMap() : array<string|int, mixed>
Return values
array<string|int, mixed>

getClientResolverPlaceholderText()

public static getClientResolverPlaceholderText(int $countryId) : string
Parameters
$countryId : int
Return values
string

getClientResolverPlaceholderTextByTitle()

public static getClientResolverPlaceholderTextByTitle(string $title) : string
Parameters
$title : string
Return values
string

getClientResolverPlacementParams()

public static getClientResolverPlacementParams(int $countryId) : array<string|int, mixed>|null
Parameters
$countryId : int
Return values
array<string|int, mixed>|null

getClientResolverPropertyWithPlacements()

public static getClientResolverPropertyWithPlacements(int $countryId[, string $placementCode = AppPlacement::REQUISITE_AUTOCOMPLETE ]) : array<string|int, mixed>|null
Parameters
$countryId : int
$placementCode : string = AppPlacement::REQUISITE_AUTOCOMPLETE
Return values
array<string|int, mixed>|null

getDefaultClientResolverApplicationParams()

public static getDefaultClientResolverApplicationParams(int $countryId) : mixed
Parameters
$countryId : int

getDetailSearchHandlersByCountry()

public static getDetailSearchHandlersByCountry([bool $noStaticCache = false ][, string $placementCode = AppPlacement::REQUISITE_AUTOCOMPLETE ]) : array<string|int, mixed>
Parameters
$noStaticCache : bool = false
$placementCode : string = AppPlacement::REQUISITE_AUTOCOMPLETE
Return values
array<string|int, mixed>

getPropertyTypeByCountry()

public static getPropertyTypeByCountry(int $countryId) : mixed
Parameters
$countryId : int

getRestriction()

public static getRestriction(int $countryId) : mixed
Parameters
$countryId : int

isEnabled()

public static isEnabled(mixed $countryID) : mixed
Parameters
$countryID : mixed

isPlacementCodeAllowed()

public static isPlacementCodeAllowed(string $placementCode) : mixed
Parameters
$placementCode : string

resolve()

public static resolve(mixed $propertyTypeID, mixed $propertyValue[, mixed $countryID = 1 ]) : array<string|int, mixed>

Use instanced method $this->resolveClient() instead

Parameters
$propertyTypeID : mixed
$propertyValue : mixed
$countryID : mixed = 1
Return values
array<string|int, mixed>

resolveClient()

public resolveClient(string $propertyTypeID, string $propertyValue[, int $countryID = 1 ]) : array<string|int, mixed>
Parameters
$propertyTypeID : string
$propertyValue : string
$countryID : int = 1
Return values
array<string|int, mixed>

setCompatibilityMode()

public setCompatibilityMode(bool $compatibilityMode) : void
Parameters
$compatibilityMode : bool

        
On this page

Search results