UserConditionControl
extends CSaleCondCtrlComplex
Table of Contents
Constants
-
ENTITY_USER_GROUP_ID
= 'BX:CondMainUserGroupId'
-
ENTITY_USER_ID
= 'CondMainUserId'
Methods
-
checkBasket()
: mixed
-
generate()
: mixed
-
getClassName()
: mixed
-
getControlDescr()
: mixed
-
getControls()
: array<string|int, mixed>|bool
-
getControlShow()
: mixed
-
getShowIn()
: mixed
-
onBuildDiscountConditionInterfaceControls()
: mixed
ENTITY_USER_GROUP_ID
public
mixed
ENTITY_USER_GROUP_ID
= 'BX:CondMainUserGroupId'
ENTITY_USER_ID
public
mixed
ENTITY_USER_ID
= 'CondMainUserId'
checkBasket()
public
static checkBasket(array<string|int, mixed> $order, array<string|int, mixed> $userIds, mixed $type) : mixed
Parameters
-
$order
: array<string|int, mixed>
-
-
$userIds
: array<string|int, mixed>
-
-
$type
: mixed
-
generate()
public
static generate(mixed $oneCondition, mixed $params, mixed $control[, mixed $subs = false ]) : mixed
Parameters
-
$oneCondition
: mixed
-
-
$params
: mixed
-
-
$control
: mixed
-
-
$subs
: mixed
= false
-
getClassName()
public
static getClassName() : mixed
getControlDescr()
public
static getControlDescr() : mixed
getControls()
public
static getControls([bool|string $controlId = false ]) : array<string|int, mixed>|bool
Parameters
-
$controlId
: bool|string
= false
-
Return values
array<string|int, mixed>|bool
getControlShow()
public
static getControlShow(mixed $params) : mixed
Parameters
-
$params
: mixed
-
getShowIn()
public
static getShowIn(mixed $arControls) : mixed
Parameters
-
$arControls
: mixed
-
onBuildDiscountConditionInterfaceControls()
public
static onBuildDiscountConditionInterfaceControls() : mixed