Пример #1
0
 /**
  * rende the pagination to an array
  *
  * @return array
  */
 public function rendeToArray()
 {
     $render = new Render($this);
     if ($this->getMode() === static::MODE_SIMPLE) {
         return $render->simpleRendeArray();
     } else {
         return $render->standartRendeArray();
     }
 }