예제 #1
0
 private function getLotinfoTypes()
 {
     $arLotinfoTypes = [];
     $lotInfoTypesOb = LotinfoTypeToIBlockTable::getList(["select" => ["LOTINFO_TYPE"], "filter" => ["!SECTION_ID" => false, "!TRANSACTION" => false]]);
     while ($lotInfoTypes = $lotInfoTypesOb->fetch()) {
         $arLotinfoTypes[] = $lotInfoTypes['LOTINFO_TYPE'];
     }
     return $arLotinfoTypes;
 }
예제 #2
0
 private function getSettingsSectionID()
 {
     $ob = LotinfoTypeToIBlockTable::getList(['filter' => ['TRANSACTION' => $this->transactionType, 'LOTINFO_TYPE' => $this->objType], 'select' => ['SECTION_ID']]);
     if ($arSection = $ob->fetch()) {
         return $arSection['SECTION_ID'];
     } else {
         return false;
     }
 }