public function init()
 {
     $this->initEntityCollection();
     $this->initExistEntityCollection();
     $this->initItemProcessCollection();
     parent::init();
 }
Exemplo n.º 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();
 }