function render() { $links = $this->createPageLinks(); if (!empty($links)) { return MHtml::pagination($links, $this->htmlOptions); } }