auto_hide === TRUE AND $this->total_pages <= 1) { return ""; } if ($style === NULL) { // Use default style $style = $this->style; } // Return rendered pagination view return View::factory("pager.html", get_object_vars($this))->render(); } }