Exemplo n.º 1
0
 public function getLastNum()
 {
     if ($this->helper->isActiveEngine()) {
         $collection = $this->getCollection();
         return $this->getFirstNum() - 1 + $collection->count();
     } else {
         return parent::getLastNum();
     }
 }