X-Git-Url: https://git.llucax.com/mecon/meconlib.git/blobdiff_plain/834bee1cf2c5bd122b3e941c70b5c2f03ee80a27..c999981d89604785bf449249f63429f57f336fff:/lib/MLIB/Array/Pager.php diff --git a/lib/MLIB/Array/Pager.php b/lib/MLIB/Array/Pager.php index f7d5fcb..c77261c 100644 --- a/lib/MLIB/Array/Pager.php +++ b/lib/MLIB/Array/Pager.php @@ -1,10 +1,33 @@ - +Autor: +------------------------------------------------------------------------------- +$Id$ +-----------------------------------------------------------------------------*/ /** * Paginador de tablas, a partir de un array -* Basado en MECON_DB_Pager +* Basado en MLIB_DB_Pager */ -class MECON_Array_Pager +class MLIB_Array_Pager { var $currentpage = 0; var $current = 0; @@ -19,7 +42,7 @@ class MECON_Array_Pager * @param int $maxpages Cantidad máxima de páginas a mostrar * @param int $numrows Nro. de filas de la tabla */ - function MECON_Array_Pager (&$res, $from = 0, $limit = 10, $maxpages = 21, $numrows = null) + function MLIB_Array_Pager (&$res, $from = 0, $limit = 10, $maxpages = 21, $numrows = null) { $this->dbh = $res->dbh; $this->result = $res; @@ -34,7 +57,7 @@ class MECON_Array_Pager /** * Calcula los datos necesarios para que funcione el paginador - * (es igual a MECON_DB_Pager) + * (es igual a MLIB_DB_Pager) * @return mixed PEAR_Error if error. */ function build()