1C-Bitrix 25.700.0
|
Функции | |
GetIBlockListWithCnt ($type, $arTypesInc=array(), $arTypesExc=array(), $arOrder=array("sort"=> "asc"), $cnt=0) | |
GetIBlockList ($type, $arTypesInc=array(), $arTypesExc=array(), $arOrder=array("sort"=> "asc"), $cnt=0) | |
GetIBlockListLang ($lang, $type, $arTypesInc=array(), $arTypesExc=array(), $arOrder=array("SORT"=> "ASC"), $cnt=0, $bCountActive=false) | |
GetIBlock ($ID, $type="") | |
GetIBlockLang ($lang, $ID, $type="") | |
GetIBlockElementListEx ($type, $arTypesInc=array(), $arTypesExc=array(), $arOrder=array("sort"=>"asc"), $cnt=0, $arFilter=array(), $arSelect=array(), $arGroupBy=false) | |
GetIBlockElementCountEx ($type, $arTypesInc=array(), $arTypesExc=array(), $arOrder=array("sort"=>"asc"), $cnt=0, $arFilter=array()) | |
GetIBlockElementCountExLang ($lang, $type, $arTypesInc=array(), $arTypesExc=array(), $arOrder=array("sort"=>"asc"), $cnt=0, $arFilter=array()) | |
GetIBlockElementListExLang ($lang, $type, $arTypesInc=array(), $arTypesExc=array(), $arOrder=array("sort"=>"asc"), $cnt=0, $arFilter=array(), $arSelect=array(), $arGroupBy=false) | |
_GetIBlockElementListExLang_tmp ($lang, $type, $arTypesInc=array(), $arTypesExc=array(), $arOrder=array("sort"=> "asc"), $cnt=0, $arFilter=array(), $arSelect=array()) | |
GetIBlockElementCount ($IBLOCK, $SECTION_ID=false, $arOrder=array("sort"=>"asc"), $cnt=0) | |
GetIBlockElementList ($IBLOCK, $SECTION_ID=false, $arOrder=array("sort"=>"asc"), $cnt=0, $arFilter=array(), $arSelect=array()) | |
GetIBlockElement ($ID, $TYPE="") | |
GetIBlockSectionListWithCnt ($IBLOCK, $SECT_ID=false, $arOrder=array("left_margin"=>"asc"), $cnt=0, $arFilter=array()) | |
GetIBlockSectionList ($IBLOCK, $SECT_ID=false, $arOrder=array("left_margin"=>"asc"), $cnt=0, $arFilter=array()) | |
GetIBlockSection ($ID, $TYPE="") | |
GetIBlockSectionPath ($IBLOCK_ID, $SECTION_ID) | |
xmlize_rss ($data) | |
xml_depth_rss ($values, &$i) | |
GetIBlockDropDownListEx ($IBLOCK_ID, $strTypeName, $strIBlockName, $arFilter=false, $onChangeType='', $onChangeIBlock='', $strAddType='', $strAddIBlock='') | |
GetIBlockDropDownList ($IBLOCK_ID, $strTypeName, $strIBlockName, $arFilter=false, $strAddType='', $strAddIBlock='') | |
ImportXMLFile ($file_name, $iblock_type="-", $site_id='', $section_action="D", $element_action="D", $use_crc=false, $preview=false, $sync=false, $return_last_error=false, $return_iblock_id=false) |
Переменные | |
if (!defined("CACHED_b_iblock_type")) define("CACHED_b_iblock_type" |
_GetIBlockElementListExLang_tmp | ( | $lang, | |
$type, | |||
$arTypesInc = array(), | |||
$arTypesExc = array(), | |||
$arOrder = array("sort" => "asc"), | |||
$cnt = 0, | |||
$arFilter = array(), | |||
$arSelect = array() ) |
Makes filter for CIBlockElement::GetList. Internal function
string | $lang | Site identifier blocks linked to. |
string | $type | Information blocks type to get blocks from. |
array | string | int | $arTypesInc | Information block ID or CODE or array of IDs or CODEs to get. |
array | string | int | $arTypesExc | Information block ID or CODE or array of IDs or CODEs to exclude. |
array | $arOrder | Order in which elements will be returned. |
int | $cnt | Maximum count of elements to be returned. |
array | $arFilter | Filter to be applied |
array | $arSelect | Fields to return (all if empty or not supplied) |
См. определение в файле iblock.php строка 264
GetIBlock | ( | $ID, | |
$type = "" ) |
Returns an array with Information block fields or false if none found. iblock have to be linked to the current site.
int | $ID | Numeric identifier of the iblock |
string | $type | Type of iblock restrict search to. |
См. определение в файле iblock.php строка 130
GetIBlockDropDownList | ( | $IBLOCK_ID, | |
$strTypeName, | |||
$strIBlockName, | |||
$arFilter = false, | |||
$strAddType = '', | |||
$strAddIBlock = '' ) |
Returns html presenting a control of two drop boxes to choose iblock iblock from. All iblock permission check to be at least W
int | $IBLOCK_ID | Selected iblock |
string | $strTypeName | Name of the iblock type select |
string | $strIBlockName | Name of the iblock name select |
bool | array | $arFilter | Additional filter for iblock list |
string | $strAddType | Additional html inserted into type select |
string | $strAddIBlock | Additional html inserted into iblock select |
См. определение в файле iblock.php строка 737
GetIBlockDropDownListEx | ( | $IBLOCK_ID, | |
$strTypeName, | |||
$strIBlockName, | |||
$arFilter = false, | |||
$onChangeType = '', | |||
$onChangeIBlock = '', | |||
$strAddType = '', | |||
$strAddIBlock = '' ) |
Returns html presenting a control of two drop boxes to choose iblock iblock from.
int | $IBLOCK_ID | Selected iblock |
string | $strTypeName | Name of the iblock type select |
string | $strIBlockName | Name of the iblock name select |
bool | array | $arFilter | Additional filter for iblock list |
string | $onChangeType | Additional JS handler for type select |
string | $onChangeIBlock | Additional JS handler for iblock select |
string | $strAddType | Additional html inserted into type select |
string | $strAddIBlock | Additional html inserted into iblock select |
См. определение в файле iblock.php строка 632
GetIBlockElement | ( | $ID, | |
$TYPE = "" ) |
Returns an array with element fields and PROPERTIES key containing element property values. false when element not active or not exists.
int | $ID | Identifier of the elements to be returned. |
string | $TYPE | Information block type identifier to filter elements with. |
См. определение в файле iblock.php строка 393
Returns number of active elements for given iblock.
int | $IBLOCK | Information block ID. |
bool | $SECTION_ID | Section ID. |
array | $arOrder | Has no meaning here. |
int | $cnt | Not used. |
См. определение в файле iblock.php строка 338
GetIBlockElementCountEx | ( | $type, | |
$arTypesInc = array(), | |||
$arTypesExc = array(), | |||
$arOrder = array("sort"=>"asc"), | |||
$cnt = 0, | |||
$arFilter = array() ) |
Returns count of the currently active elements of specified information blocks. Checks permissions by default.
string | $type | Information blocks type to get blocks from. |
array | string | int | $arTypesInc | Information block ID or CODE or array of IDs or CODEs to get. |
array | string | int | $arTypesExc | Information block ID or CODE or array of IDs or CODEs to exclude. |
array | $arOrder | Order in which elements will be returned. |
int | $cnt | Maximum count of elements to be returned. |
array | $arFilter | Filter to be applied |
См. определение в файле iblock.php строка 196
GetIBlockElementCountExLang | ( | $lang, | |
$type, | |||
$arTypesInc = array(), | |||
$arTypesExc = array(), | |||
$arOrder = array("sort"=>"asc"), | |||
$cnt = 0, | |||
$arFilter = array() ) |
Returns count of the currently active elements of specified information blocks. Checks permissions by default.
string | $lang | Site identifier blocks linked to. |
string | $type | Information blocks type to get blocks from. |
array | string | int | $arTypesInc | Information block ID or CODE or array of IDs or CODEs to get. |
array | string | int | $arTypesExc | Information block ID or CODE or array of IDs or CODEs to exclude. |
array | $arOrder | Order in which elements will be returned. |
int | $cnt | Maximum count of elements to be returned. |
array | $arFilter | Filter to be applied |
См. определение в файле iblock.php строка 215
GetIBlockElementList | ( | $IBLOCK, | |
$SECTION_ID = false, | |||
$arOrder = array("sort"=>"asc"), | |||
$cnt = 0, | |||
$arFilter = array(), | |||
$arSelect = array() ) |
Return the list of the elements.
int | $IBLOCK | Information block ID. |
bool | $SECTION_ID | Section ID. |
array | $arOrder | Has no meaning here. |
int | $cnt | |
array | $arFilter | |
array | $arSelect |
См. определение в файле iblock.php строка 363
GetIBlockElementListEx | ( | $type, | |
$arTypesInc = array(), | |||
$arTypesExc = array(), | |||
$arOrder = array("sort"=>"asc"), | |||
$cnt = 0, | |||
$arFilter = array(), | |||
$arSelect = array(), | |||
$arGroupBy = false ) |
Returns a list of the currently active elements of specified information blocks. Checks permissions by default.
string | $type | Information blocks type to get blocks from. |
array | string | int | $arTypesInc | Information block ID or CODE or array of IDs or CODEs to get. |
array | string | int | $arTypesExc | Information block ID or CODE or array of IDs or CODEs to exclude. |
array | $arOrder | Order in which elements will be returned. |
int | $cnt | Maximum count of elements to be returned. |
array | $arFilter | Filter to be applied |
array | $arSelect | Fields to return (all if empty or not supplied) |
bool | $arGroupBy | Fields to group by (none grouping by default), overwrites $arSelect |
См. определение в файле iblock.php строка 178
GetIBlockElementListExLang | ( | $lang, | |
$type, | |||
$arTypesInc = array(), | |||
$arTypesExc = array(), | |||
$arOrder = array("sort"=>"asc"), | |||
$cnt = 0, | |||
$arFilter = array(), | |||
$arSelect = array(), | |||
$arGroupBy = false ) |
Returns a list of the currently active elements of specified information blocks. Checks permissions by default.
string | $lang | Site identifier blocks linked to. |
string | $type | Information blocks type to get blocks from. |
array | string | int | $arTypesInc | Information block ID or CODE or array of IDs or CODEs to get. |
array | string | int | $arTypesExc | Information block ID or CODE or array of IDs or CODEs to exclude. |
array | $arOrder | Order in which elements will be returned. |
int | $cnt | Maximum count of elements to be returned. |
array | $arFilter | Filter to be applied |
array | $arSelect | Fields to return (all if empty or not supplied) |
bool | $arGroupBy | Fields to group by (none grouping by default), overwrites $arSelect |
См. определение в файле iblock.php строка 236
GetIBlockLang | ( | $lang, | |
$ID, | |||
$type = "" ) |
Returns an array with Information block fields or false if none found. iblock have to be linked to the current site.
string | $lang | Site identifier block linked to. |
int | $ID | Numeric identifier of the iblock |
string | $type | Type of iblock restrict search to. |
См. определение в файле iblock.php строка 144
GetIBlockList | ( | $type, | |
$arTypesInc = array(), | |||
$arTypesExc = array(), | |||
$arOrder = array("sort" => "asc"), | |||
$cnt = 0 ) |
Returns list of the information blocks of specified $type linked to the current site
string | $type | Information blocks type to get blocks from. |
array | string | int | $arTypesInc | Information block ID or CODE or array of IDs or CODEs to get. |
array | string | int | $arTypesExc | Information block ID or CODE or array of IDs or CODEs to exclude. |
array | $arOrder | Order in which blocks will be returned. |
int | $cnt | Maximum count of iblocks to be returned. |
См. определение в файле iblock.php строка 42
GetIBlockListLang | ( | $lang, | |
$type, | |||
$arTypesInc = array(), | |||
$arTypesExc = array(), | |||
$arOrder = array("SORT" => "ASC"), | |||
$cnt = 0, | |||
$bCountActive = false ) |
Returns list of the information blocks of specified $type linked to the specified site
string | $lang | Site identifier blocks linked to. |
string | $type | Information blocks type to get blocks from. |
array | string | int | $arTypesInc | Information block ID or CODE or array of IDs or CODEs to get. |
array | string | int | $arTypesExc | Information block ID or CODE or array of IDs or CODEs to exclude. |
array | $arOrder | Order in which blocks will be returned. |
int | $cnt | Maximum count of iblocks to be returned. |
bool | $bCountActive |
См. определение в файле iblock.php строка 60
GetIBlockListWithCnt | ( | $type, | |
$arTypesInc = array(), | |||
$arTypesExc = array(), | |||
$arOrder = array("sort" => "asc"), | |||
$cnt = 0 ) |
Returns list of the information blocks of specified $type linked to the current site including ELEMENT_CNT column which presents currently active elements.
string | $type | Information blocks type to get blocks from. |
array | string | int | $arTypesInc | Information block ID or CODE or array of IDs or CODEs to get. |
array | string | int | $arTypesExc | Information block ID or CODE or array of IDs or CODEs to exclude. |
array | $arOrder | Order in which blocks will be returned. |
int | $cnt | Maximum count of iblocks to be returned. |
См. определение в файле iblock.php строка 26
GetIBlockSection | ( | $ID, | |
$TYPE = "" ) |
Returns an array with section fields if found. Else returns false.
int | $ID | |
string | $TYPE |
См. определение в файле iblock.php строка 490
GetIBlockSectionList | ( | $IBLOCK, | |
$SECT_ID = false, | |||
$arOrder = array("left_margin"=>"asc"), | |||
$cnt = 0, | |||
$arFilter = array() ) |
Returns list of sections of specified iblock.
int | $IBLOCK | |
bool | int | $SECT_ID | |
array | $arOrder | |
int | $cnt | |
array | $arFilter |
См. определение в файле iblock.php строка 462
GetIBlockSectionListWithCnt | ( | $IBLOCK, | |
$SECT_ID = false, | |||
$arOrder = array("left_margin"=>"asc"), | |||
$cnt = 0, | |||
$arFilter = array() ) |
Returns list of sections of specified iblock including ELEMENT_CNT column.
int | $IBLOCK | |
bool | int | $SECT_ID | |
array | $arOrder | |
int | $cnt | |
array | $arFilter |
См. определение в файле iblock.php строка 431
GetIBlockSectionPath | ( | $IBLOCK_ID, | |
$SECTION_ID ) |
Returns path to the section.
int | $IBLOCK_ID | |
int | $SECTION_ID |
См. определение в файле iblock.php строка 520
ImportXMLFile | ( | $file_name, | |
$iblock_type = "-", | |||
$site_id = '', | |||
$section_action = "D", | |||
$element_action = "D", | |||
$use_crc = false, | |||
$preview = false, | |||
$sync = false, | |||
$return_last_error = false, | |||
$return_iblock_id = false ) |
Imports an xml file into iblock. File may be an .tar.gz archive.
string | $file_name | Name of the file to import |
string | $iblock_type | IBlock type ID to import iblock to |
string | array | $site_id | ID of the site or array of IDs to bind iblock to |
string | $section_action | What to do with sections missed in the file. D - delete or A - deactivate. |
string | $element_action | What to do with elements missed in the file. D - delete or A - deactivate. |
bool | $use_crc | Whenever to use CRC check for optimizi=ation or force an update |
bool | $preview | If true when use iblock settings to generate preview pictures from detail. |
bool | $sync | If true uses alternative set of tables in order not to interfere with other import processes |
bool | $return_last_error | If true will return string with error description in case of failure |
bool | $return_iblock_id | If true will return iblock identifier (int) in case of success |
@global CMain $APPLICATION
См. определение в файле iblock.php строка 760
xml_depth_rss | ( | $values, | |
& | $i ) |
Helper function for xmlize_rss
array | $values | |
int | $i |
См. определение в файле iblock.php строка 561
xmlize_rss | ( | $data | ) |
Converts xml string into recursive array
string | $data |
См. определение в файле iblock.php строка 531
if(!defined("CACHED_b_iblock_property_enum_bucket_size")) define("CACHED_b_iblock_property_enum_bucket_size" | ( | ! | defined"CACHED_b_iblock_type" | ) |
См. определение в файле iblock.php строка 5