예제 #1
0
 /**
  * @override
  * @return void
  */
 protected function formatResult()
 {
     parent::formatResult();
     $this->arResult['PERIOD'] = $this->arParams['PERIOD'];
     $this->arResult['BY'] = $this->arParams['BY'];
 }
예제 #2
0
 /**
  * @override
  */
 protected function formatResult()
 {
     parent::formatResult();
     if (empty($this->arResult['ITEMS'])) {
         $this->arResult = array();
     } else {
         $this->arResult['ID'] = is_array($this->items) ? array_keys($this->items) : array();
     }
 }