1: <?php
2: /**
3: * Contains the QPaginator Class - the paginator control for QDataGrid and QDataRepeater controls
4: * @package Controls
5: * @filesource
6: */
7:
8: /**
9: * Class QPaginator - The paginator control which can be attached to a QDataRepeater or QDataGrid
10: * This class will take care of the number of pages, current page, next/previous links and so on
11: * automatically.
12: */
13: class QPaginator extends QPaginatorBase {
14: // APPEARANCE
15: protected $intIndexCount = 10;
16:
17: //////////
18: // Methods
19: //////////
20: /**
21: * Constructor
22: * @param QControl|QForm $objParentObject
23: * @param null|string $strControlId
24: */
25: public function __construct($objParentObject, $strControlId = null) {
26: parent::__construct($objParentObject, $strControlId);
27:
28: $this->CssClass = 'paginator';
29: //$this->strLabelForPrevious = QApplication::Translate('<<');
30: //$this->strLabelForNext = QApplication::Translate('>>');
31:
32: }
33: }