public function rendeToArray(){
        $render = new Render($this);
        if ($this->getMode() === static::MODE_SIMPLE) {
            return $render->simpleRendeArray();
        }else{
            return $render->standartRendeArray();
        }
    }
public function rendeToArray(){
        $render = new Render($this);
        if ($this->getMode() === static::MODE_SIMPLE) {
            return $render->simpleRendeArray();
        }else{
            return $render->standartRendeArray();
        }
    }
public function rendeToArray ( ) { $ render = new Render ( $ this ) ; if ( $ this -> getMode ( ) === static :: MODE_SIMPLE ) { return $ render -> simpleRendeArray ( ) ; } else { return $ render -> standartRendeArray ( ) ; } }
rende the pagination to an array

@return array
rende the pagination to an array