CIBlock extends CAllIBlock
Table of Contents
Properties
- $LAST_ERROR : string
Methods
- _Add() : mixed
- _GetProductUrl() : string
- _MergeIBArrays() : mixed
- _NotEmpty() : mixed
- _Order() : mixed
- _transaction_lock() : mixed
- _Upper() : mixed
- Add() : mixed
- AddPanelButtons() : mixed
- checkActivityDatesAgent() : string
- CheckFields() : mixed
- CheckForIndexes() : mixed
- CleanCache() : mixed
- clearIblockTagCache() : mixed
- clearUrlDataCache() : void
- Delete() : mixed
- disableClearTagCache() : mixed
- disableTagCache() : mixed
- enableClearTagCache() : mixed
- enableTagCache() : mixed
- fillUrlElementDataCache() : void
- FilterCreate() : mixed
- FilterCreateEx() : mixed
- FilterPicture() : mixed
- ForLIKE() : mixed
- GetAdminElementEditLink() : string
- GetAdminElementListLink() : string
- GetAdminElementListScriptName() : string
- GetAdminIBlockEditLink() : mixed
- GetAdminListMode() : string
- GetAdminSectionEditLink() : string
- GetAdminSectionListLink() : string
- GetAdminSectionListScriptName() : string
- GetAdminSubElementEditLink() : mixed
- GetArrayByID() : mixed
- GetAuditTypes() : mixed
- GetByID() : mixed
- getCommonPropertyValuesTableName() : string
- GetComponentMenu() : mixed
- getDefaultJpegQuality() : int
- getDefaultRights() : array<string|int, mixed>
- Returns default rights for apply to iblock (admin access and public reading).
- GetElementCount() : mixed
- getFieldDefaultSettings() : array<string|int, mixed>|null
- GetFields() : mixed
- GetFieldsDefaults() : mixed
- GetGroupPermissions() : mixed
- getLastError() : string
- GetList() : mixed
- GetMessages() : mixed
- getMultiplePropertyValuesTableName() : string
- GetPanelButtons() : mixed
- GetPermission() : mixed
- GetProperties() : mixed
- getSinglePropertyValuesTableName() : string
- GetSite() : CDBResult
- isCorrectFullFormatDate() : bool
- isEnabledClearTagCache() : bool
- isShortDate() : mixed
- isUniqueElementCode() : bool
- isUniqueSectionCode() : bool
- makeFileArray() : mixed
- makeFilePropArray() : mixed
- MkOperationFilter() : array<string|int, mixed>
- NumberFormat() : mixed
- OnBeforeLangDelete() : mixed
- OnGroupDelete() : mixed
- OnLangDelete() : mixed
- OnSearchGetURL() : mixed
- OnSearchReindex() : mixed
- registerWithTagCache() : mixed
- ReplaceDetailUrl() : mixed
- ReplaceSectionUrl() : mixed
- ResizePicture() : mixed
- roundDB() : mixed
- SetFields() : mixed
- SetMessages() : mixed
- SetPermission() : mixed
- ShowPanel() : mixed
- Update() : mixed
Properties
$LAST_ERROR
public
string
$LAST_ERROR
= ''
Methods
_Add()
public
_Add(mixed $ID) : mixed
Parameters
- $ID : mixed
_GetProductUrl()
public
static _GetProductUrl(mixed $OF_ELEMENT_ID, mixed $OF_IBLOCK_ID[, mixed $server_name = false ][, mixed $arrType = false ]) : string
Parameters
- $OF_ELEMENT_ID : mixed
- $OF_IBLOCK_ID : mixed
- $server_name : mixed = false
- $arrType : mixed = false
Tags
Return values
string_MergeIBArrays()
public
static _MergeIBArrays(mixed $iblock_id[, mixed $iblock_code = false ][, mixed $iblock_id2 = false ][, mixed $iblock_code2 = false ]) : mixed
Parameters
- $iblock_id : mixed
- $iblock_code : mixed = false
- $iblock_id2 : mixed = false
- $iblock_code2 : mixed = false
_NotEmpty()
public
static _NotEmpty(mixed $column) : mixed
Parameters
- $column : mixed
_Order()
public
static _Order(mixed $by, mixed $order, mixed $default_order[, mixed $nullable = true ]) : mixed
Parameters
- $by : mixed
- $order : mixed
- $default_order : mixed
- $nullable : mixed = true
_transaction_lock()
public
static _transaction_lock(mixed $IBLOCK_ID) : mixed
Parameters
- $IBLOCK_ID : mixed
_Upper()
public
static _Upper(mixed $str) : mixed
Parameters
- $str : mixed
Add()
public
Add(mixed $arFields) : mixed
Parameters
- $arFields : mixed
AddPanelButtons()
public
static AddPanelButtons(mixed $mode, mixed $componentName, mixed $arButtons) : mixed
Parameters
- $mode : mixed
- $componentName : mixed
- $arButtons : mixed
checkActivityDatesAgent()
public
static checkActivityDatesAgent(mixed $iblockId, mixed $previousTime) : string
Parameters
- $iblockId : mixed
- $previousTime : mixed
Return values
stringCheckFields()
public
CheckFields(mixed &$arFields[, mixed $ID = false ]) : mixed
Parameters
- $arFields : mixed
- $ID : mixed = false
CheckForIndexes()
public
static CheckForIndexes(mixed $IBLOCK_ID) : mixed
Parameters
- $IBLOCK_ID : mixed
CleanCache()
public
static CleanCache(mixed $ID) : mixed
Parameters
- $ID : mixed
clearIblockTagCache()
public
static clearIblockTagCache(mixed $iblock_id) : mixed
Parameters
- $iblock_id : mixed
clearUrlDataCache()
public
static clearUrlDataCache() : void
Delete()
public
static Delete(mixed $ID) : mixed
Parameters
- $ID : mixed
disableClearTagCache()
public
static disableClearTagCache() : mixed
disableTagCache()
public
static disableTagCache(mixed $iblock_id) : mixed
Parameters
- $iblock_id : mixed
enableClearTagCache()
public
static enableClearTagCache() : mixed
enableTagCache()
public
static enableTagCache(mixed $iblock_id) : mixed
Parameters
- $iblock_id : mixed
fillUrlElementDataCache()
public
static fillUrlElementDataCache(int $id) : void
Parameters
- $id : int
FilterCreate()
public
static FilterCreate(mixed $field_name, mixed $values, mixed $type[, mixed $cOperationType = false ][, mixed $bSkipEmpty = true ]) : mixed
Parameters
- $field_name : mixed
- $values : mixed
- $type : mixed
- $cOperationType : mixed = false
- $bSkipEmpty : mixed = true
FilterCreateEx()
public
static FilterCreateEx(mixed $fname, mixed $vals, mixed $type, mixed &$bFullJoin[, mixed $cOperationType = false ][, mixed $bSkipEmpty = true ]) : mixed
Parameters
- $fname : mixed
- $vals : mixed
- $type : mixed
- $bFullJoin : mixed
- $cOperationType : mixed = false
- $bSkipEmpty : mixed = true
FilterPicture()
public
static FilterPicture(mixed $filePath, mixed $arFilter) : mixed
Parameters
- $filePath : mixed
- $arFilter : mixed
ForLIKE()
public
static ForLIKE(mixed $str) : mixed
Parameters
- $str : mixed
GetAdminElementEditLink()
public
static GetAdminElementEditLink(int $IBLOCK_ID, int|null $ELEMENT_ID[, array<string|int, mixed> $arParams = array() ][, string $strAdd = "" ]) : string
Parameters
- $IBLOCK_ID : int
- $ELEMENT_ID : int|null
- $arParams : array<string|int, mixed> = array()
- $strAdd : string = ""
Tags
Return values
stringGetAdminElementListLink()
public
static GetAdminElementListLink(int $IBLOCK_ID[, array<string|int, mixed> $arParams = array() ][, string $strAdd = "" ]) : string
Parameters
- $IBLOCK_ID : int
- $arParams : array<string|int, mixed> = array()
- $strAdd : string = ""
Tags
Return values
stringGetAdminElementListScriptName()
public
static GetAdminElementListScriptName(int $IBLOCK_ID[, array<string|int, mixed> $arParams = array() ]) : string
Parameters
- $IBLOCK_ID : int
- $arParams : array<string|int, mixed> = array()
Tags
Return values
stringGetAdminIBlockEditLink()
public
static GetAdminIBlockEditLink(mixed $IBLOCK_ID[, mixed $arParams = array() ][, mixed $strAdd = "" ]) : mixed
Parameters
- $IBLOCK_ID : mixed
- $arParams : mixed = array()
- $strAdd : mixed = ""
GetAdminListMode()
public
static GetAdminListMode(int $IBLOCK_ID) : string
Parameters
- $IBLOCK_ID : int
Return values
stringGetAdminSectionEditLink()
public
static GetAdminSectionEditLink(int $IBLOCK_ID, int|null $SECTION_ID[, array<string|int, mixed> $arParams = array() ][, string $strAdd = "" ]) : string
Parameters
- $IBLOCK_ID : int
- $SECTION_ID : int|null
- $arParams : array<string|int, mixed> = array()
- $strAdd : string = ""
Tags
Return values
stringGetAdminSectionListLink()
public
static GetAdminSectionListLink(int $IBLOCK_ID[, array<string|int, mixed> $arParams = array() ][, string $strAdd = "" ]) : string
Parameters
- $IBLOCK_ID : int
- $arParams : array<string|int, mixed> = array()
- $strAdd : string = ""
Tags
Return values
stringGetAdminSectionListScriptName()
public
static GetAdminSectionListScriptName(int $IBLOCK_ID[, array<string|int, mixed> $arParams = array() ]) : string
Parameters
- $IBLOCK_ID : int
- $arParams : array<string|int, mixed> = array()
Tags
Return values
stringGetAdminSubElementEditLink()
public
static GetAdminSubElementEditLink(mixed $IBLOCK_ID, mixed $ELEMENT_ID, mixed $SUBELEMENT_ID[, mixed $arParams = array() ][, mixed $strAdd = '' ][, mixed $absoluteUrl = false ]) : mixed
Parameters
- $IBLOCK_ID : mixed
- $ELEMENT_ID : mixed
- $SUBELEMENT_ID : mixed
- $arParams : mixed = array()
- $strAdd : mixed = ''
- $absoluteUrl : mixed = false
GetArrayByID()
public
static GetArrayByID(int $ID[, string $FIELD = "" ]) : mixed
Parameters
- $ID : int
- $FIELD : string = ""
GetAuditTypes()
public
static GetAuditTypes() : mixed
GetByID()
public
static GetByID(mixed $ID) : mixed
Parameters
- $ID : mixed
getCommonPropertyValuesTableName()
public
static getCommonPropertyValuesTableName() : string
Return values
stringGetComponentMenu()
public
static GetComponentMenu(mixed $mode, mixed $arButtons) : mixed
Parameters
- $mode : mixed
- $arButtons : mixed
getDefaultJpegQuality()
public
static getDefaultJpegQuality() : int
Return values
intgetDefaultRights()
Returns default rights for apply to iblock (admin access and public reading).
public
static getDefaultRights() : array<string|int, mixed>
Return values
array<string|int, mixed>GetElementCount()
public
static GetElementCount(mixed $iblock_id) : mixed
Parameters
- $iblock_id : mixed
getFieldDefaultSettings()
public
static getFieldDefaultSettings(string $fieldName) : array<string|int, mixed>|null
Parameters
- $fieldName : string
Return values
array<string|int, mixed>|nullGetFields()
public
static GetFields(mixed $ID) : mixed
Parameters
- $ID : mixed
GetFieldsDefaults()
public
static GetFieldsDefaults() : mixed
GetGroupPermissions()
public
static GetGroupPermissions(mixed $ID) : mixed
Parameters
- $ID : mixed
getLastError()
public
getLastError() : string
Return values
stringGetList()
public
static GetList([mixed $arOrder = array("SORT" => "ASC") ][, mixed $arFilter = array() ][, mixed $bIncCnt = false ]) : mixed
Parameters
- $arOrder : mixed = array("SORT" => "ASC")
- $arFilter : mixed = array()
- $bIncCnt : mixed = false
GetMessages()
public
static GetMessages(mixed $ID[, mixed $type = "" ]) : mixed
Parameters
- $ID : mixed
- $type : mixed = ""
getMultiplePropertyValuesTableName()
public
static getMultiplePropertyValuesTableName(int $iblockId) : string
Parameters
- $iblockId : int
Return values
stringGetPanelButtons()
public
static GetPanelButtons([mixed $IBLOCK_ID = 0 ][, mixed $ELEMENT_ID = 0 ][, mixed $SECTION_ID = 0 ][, mixed $arOptions = array() ]) : mixed
Parameters
- $IBLOCK_ID : mixed = 0
- $ELEMENT_ID : mixed = 0
- $SECTION_ID : mixed = 0
- $arOptions : mixed = array()
GetPermission()
public
static GetPermission(mixed $IBLOCK_ID[, mixed $FOR_USER_ID = false ]) : mixed
Parameters
- $IBLOCK_ID : mixed
- $FOR_USER_ID : mixed = false
GetProperties()
public
static GetProperties(mixed $ID[, mixed $arOrder = array() ][, mixed $arFilter = array() ]) : mixed
Parameters
- $ID : mixed
- $arOrder : mixed = array()
- $arFilter : mixed = array()
getSinglePropertyValuesTableName()
public
static getSinglePropertyValuesTableName(int $iblockId) : string
Parameters
- $iblockId : int
Return values
stringGetSite()
public
static GetSite(int $iblock_id) : CDBResult
Parameters
- $iblock_id : int
Return values
CDBResultisCorrectFullFormatDate()
public
static isCorrectFullFormatDate(mixed $value) : bool
Parameters
- $value : mixed
Return values
boolisEnabledClearTagCache()
public
static isEnabledClearTagCache() : bool
Return values
boolisShortDate()
public
static isShortDate(mixed $strDate) : mixed
Parameters
- $strDate : mixed
isUniqueElementCode()
public
static isUniqueElementCode(int $id) : bool
Parameters
- $id : int
Return values
boolisUniqueSectionCode()
public
static isUniqueSectionCode(int $id) : bool
Parameters
- $id : int
Return values
boolmakeFileArray()
public
static makeFileArray(mixed $data[, mixed $del = false ][, mixed $description = null ][, mixed $options = array() ]) : mixed
Parameters
- $data : mixed
- $del : mixed = false
- $description : mixed = null
- $options : mixed = array()
makeFilePropArray()
public
static makeFilePropArray(mixed $data[, mixed $del = false ][, mixed $description = null ][, mixed $options = array() ]) : mixed
Parameters
- $data : mixed
- $del : mixed = false
- $description : mixed = null
- $options : mixed = array()
MkOperationFilter()
public
static MkOperationFilter(mixed $key) : array<string|int, mixed>
Parameters
- $key : mixed
Return values
array<string|int, mixed>NumberFormat()
public
static NumberFormat(mixed $num) : mixed
Parameters
- $num : mixed
OnBeforeLangDelete()
public
static OnBeforeLangDelete(mixed $lang) : mixed
Parameters
- $lang : mixed
OnGroupDelete()
public
static OnGroupDelete(mixed $group_id) : mixed
Parameters
- $group_id : mixed
OnLangDelete()
public
static OnLangDelete(mixed $lang) : mixed
Parameters
- $lang : mixed
OnSearchGetURL()
public
static OnSearchGetURL(mixed $arFields) : mixed
Parameters
- $arFields : mixed
OnSearchReindex()
public
static OnSearchReindex([mixed $NS = array() ][, mixed $oCallback = null ][, mixed $callback_method = "" ]) : mixed
Parameters
- $NS : mixed = array()
- $oCallback : mixed = null
- $callback_method : mixed = ""
registerWithTagCache()
public
static registerWithTagCache(mixed $iblock_id) : mixed
Parameters
- $iblock_id : mixed
ReplaceDetailUrl()
public
static ReplaceDetailUrl(mixed $url, mixed $arr[, mixed $server_name = false ][, mixed $arrType = false ]) : mixed
Parameters
- $url : mixed
- $arr : mixed
- $server_name : mixed = false
- $arrType : mixed = false
ReplaceSectionUrl()
public
static ReplaceSectionUrl(mixed $url, mixed $arr[, mixed $server_name = false ][, mixed $arrType = false ]) : mixed
Parameters
- $url : mixed
- $arr : mixed
- $server_name : mixed = false
- $arrType : mixed = false
ResizePicture()
public
static ResizePicture(mixed $arFile, mixed $arResize) : mixed
Parameters
- $arFile : mixed
- $arResize : mixed
roundDB()
public
static roundDB(mixed $value) : mixed
Parameters
- $value : mixed
SetFields()
public
static SetFields(mixed $ID, mixed $arFields) : mixed
Parameters
- $ID : mixed
- $arFields : mixed
SetMessages()
public
static SetMessages(mixed $ID, mixed $arFields) : mixed
Parameters
- $ID : mixed
- $arFields : mixed
SetPermission()
public
static SetPermission(mixed $IBLOCK_ID, mixed $arGROUP_ID) : mixed
Parameters
- $IBLOCK_ID : mixed
- $arGROUP_ID : mixed
ShowPanel()
public
static ShowPanel([mixed $IBLOCK_ID = 0 ][, mixed $ELEMENT_ID = 0 ][, mixed $SECTION_ID = "" ][, mixed $type = "news" ][, mixed $bGetIcons = false ][, mixed $componentName = "" ][, mixed $arLabels = array() ]) : mixed
Parameters
- $IBLOCK_ID : mixed = 0
- $ELEMENT_ID : mixed = 0
- $SECTION_ID : mixed = ""
- $type : mixed = "news"
- $bGetIcons : mixed = false
- $componentName : mixed = ""
- $arLabels : mixed = array()
Update()
public
Update(mixed $ID, mixed $arFields) : mixed
Parameters
- $ID : mixed
- $arFields : mixed