public function fetch() { $res = parent::fetch(); if ($this->customSelect === true) { if (empty($this->flippedSelect)) { $this->flippedSelect = array_flip($this->getSelect()); } return array_intersect_key($res, $this->flippedSelect); } else { return $res; } }
public function __construct() { parent::__construct(); CModule::IncludeModule('iblock'); $this->dataProvider = new \CIBlockSection(); }
public function __construct() { parent::__construct(); CModule::IncludeModule('sale'); $this->dataProvider = new \CSaleOrderPropsValue(); }
public function __construct() { parent::__construct(); CModule::IncludeModule('main'); $this->dataProvider = new \CUser(); }