Bitrix API

Helper

Class Helper Collections of different useful static methods.

Table of Contents

Properties

$arIBlockIDs  : mixed
Wraps Product Provider Class::GetProductData from module catalog.

Methods

getBitrixCategoryPropsHtml()  : string
getBitrixStatuses()  : array<string|int, mixed>
getDefaultFeedIntervals()  : mixed
getDeliveryList()  : array<string|int, mixed>
getIblocksIds()  : mixed
getOrderPropsList()  : array<string|int, mixed>
getPersonTypesList()  : array<string|int, mixed>
getProductById()  : mixed
getPropertiesList()  : array<string|int, mixed>
getRequiredOrderProps()  : array<string|int, mixed>
getSelectHtml()  : string
makeAdditionalOrderProps()  : array<string|int, mixed>
makeSelectorFromPaySystems()  : string
notifyNewOrder()  : mixed
onAfterUpdateShipment()  : mixed

Properties

$arIBlockIDs

Wraps Product Provider Class::GetProductData from module catalog.

public static mixed $arIBlockIDs
Tags
@return

array.

throws
SystemException

Methods

getBitrixCategoryPropsHtml()

public static getBitrixCategoryPropsHtml(string $selectName, int $iblockId[, int $bitrixCategoryId = 0 ][, string $value = '' ]) : string
Parameters
$selectName : string

Name of select.

$iblockId : int

Iblock Id.

$bitrixCategoryId : int = 0

Iblock section Id.

$value : string = ''

Selected value.

Return values
string

Html element ....

makeAdditionalOrderProps()

public static makeAdditionalOrderProps(array<string|int, mixed> $params) : array<string|int, mixed>
Parameters
$params : array<string|int, mixed>
Return values
array<string|int, mixed>

Additional order properties.

makeSelectorFromPaySystems()

public static makeSelectorFromPaySystems(string $selectName, string $psIdValue, int $personTypeId) : string
Parameters
$selectName : string

Name of input element.

$psIdValue : string

Selected value.

$personTypeId : int

Person type Id.

Return values
string

html element

notifyNewOrder()

public notifyNewOrder(mixed $newOrderId, mixed $siteId[, mixed $buyerEmail = "" ][, mixed $buyerFio = "" ]) : mixed
Parameters
$newOrderId : mixed
$siteId : mixed
$buyerEmail : mixed = ""
$buyerFio : mixed = ""

onAfterUpdateShipment()

public static onAfterUpdateShipment(Event $event) : mixed
Parameters
$event : Event

        
On this page

Search results