Source for file object.php

Documentation is available at object.php

  1. <?php
  2. /**
  3.  * @package     Joomla.Libraries
  4.  * @subpackage  Pagination
  5.  *
  6.  * @copyright   Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
  7.  * @license     GNU General Public License version 2 or later; see LICENSE
  8.  */
  9.  
  10. defined('JPATH_PLATFORM'or die;
  11.  
  12. /**
  13.  * Pagination object representing a particular item in the pagination lists.
  14.  *
  15.  * @package     Joomla.Libraries
  16.  * @subpackage  Pagination
  17.  * @since       1.5
  18.  */
  19. {
  20.     /**
  21.      * @var    string  The link text.
  22.      * @since  1.5
  23.      */
  24.     public $text;
  25.  
  26.     /**
  27.      * @var    integer  The number of rows as a base offset.
  28.      * @since  1.5
  29.      */
  30.     public $base;
  31.  
  32.     /**
  33.      * @var    string  The link URL.
  34.      * @since  1.5
  35.      */
  36.     public $link;
  37.  
  38.     /**
  39.      * @var    integer  The prefix used for request variables.
  40.      * @since  1.6
  41.      */
  42.     public $prefix;
  43.  
  44.     /**
  45.      * @var    boolean  Flag whether the object is the 'active' page
  46.      * @since  3.0
  47.      */
  48.     public $active;
  49.  
  50.     /**
  51.      * Class constructor.
  52.      *
  53.      * @param   string   $text    The link text.
  54.      * @param   integer  $prefix  The prefix used for request variables.
  55.      * @param   integer  $base    The number of rows as a base offset.
  56.      * @param   string   $link    The link URL.
  57.      * @param   boolean  $active  Flag whether the object is the 'active' page
  58.      *
  59.      * @since   1.5
  60.      */
  61.     public function __construct($text$prefix ''$base null$link null$active false)
  62.     {
  63.         $this->text   = $text;
  64.         $this->prefix = $prefix;
  65.         $this->base   = $base;
  66.         $this->link   = $link;
  67.         $this->active = $active;
  68.     }
  69. }

Documentation generated on Tue, 19 Nov 2013 15:09:42 +0100 by phpDocumentor 1.4.3