public function render()
    {

        $render = new Render($this);
        if ($this->getMode() === static::MODE_SIMPLE) {
            return $render->simpleRende();
        }else{
            return $render->standartRende();
        }

    }
public function render()
    {

        $render = new Render($this);
        if ($this->getMode() === static::MODE_SIMPLE) {
            return $render->simpleRende();
        }else{
            return $render->standartRende();
        }

    }
public function render ( ) { $ render = new Render ( $ this ) ; if ( $ this -> getMode ( ) === static :: MODE_SIMPLE ) { return $ render -> simpleRende ( ) ; } else { return $ render -> standartRende ( ) ; } }
rende the pagination to string

@return string
rende the pagination to string