public function collect()
 {
     if (!$this->itemProcessCollection->count()) {
         return;
     }
     $items = $this->itemProcessCollection->toArray();
     $this->collectItemsByValuesInProcessList($items);
     parent::collect();
 }
示例#2
0
 protected function collectItemData()
 {
     if (!$this->isInLimits()) {
         return;
     }
     $this->itemCollector->init();
     $this->itemCollector->collect();
     if ($this->itemCollector->getError()) {
         $this->addError($this->itemCollector->getError());
     }
     $this->lastItemIndex = $this->itemCollector->getLastItemIndex();
 }