- Модуль: lists
- Путь к файлу: ~/bitrix/modules/lists/lib/entity/iblock.php
- Класс: BitrixListsEntityIblock
- Вызов: Iblock::__construct
public function __construct(Param $param)
{
$this->param = $param;
$this->params = $param->getParams();
$this->fieldList = ["NAME", "ACTIVE", "DESCRIPTION", "SORT", "BIZPROC", "PICTURE"];
$this->messageList = ["ELEMENTS_NAME", "ELEMENT_NAME", "ELEMENT_ADD", "ELEMENT_EDIT", "ELEMENT_DELETE",
"SECTIONS_NAME", "SECTION_ADD", "SECTION_EDIT", "SECTION_DELETE"];
$this->iblockId = Utils::getIblockId($this->params);
$this->errorCollection = new ErrorCollection;
}