
Public Member Functions | |
| getLimitBox ($link) | |
| writeLimitBox ($link) | |
| writePagesCounter () | |
| writeLeafsCounter () | |
Protected Attributes | |
| $isAdmin = false | |
Definition at line 149 of file aliroPageNav.php.
| aliroUserPageNav::getLimitBox | ( | $ | link | ) |
Returns the html limit # input box
| string | The basic link to include in the href |
Definition at line 156 of file aliroPageNav.php.
References aliroHTML::getInstance(), aliroSEF::getInstance(), and aliroAbstractPageNav::makeLimitSteps().
00156 { 00157 // build the html select list 00158 $link = aliroSEF::getInstance()->sefRelToAbs($link.'&limit=\' + this.options[selectedIndex].value + \'&limitstart='.$this->limitstart); 00159 return aliroHTML::getInstance()->selectList($this->makeLimitSteps(), 'limit', 00160 'class="inputbox" size="1" onchange="document.location.href=\''.$link.'\';"', 00161 'value', 'text', $this->limit); 00162 }
| aliroUserPageNav::writeLimitBox | ( | $ | link | ) |
Writes the html limit # input box
| string | The basic link to include in the href |
Definition at line 167 of file aliroPageNav.php.
00167 { 00168 echo $this->getLimitBox( $link ); 00169 }
| aliroUserPageNav::writePagesCounter | ( | ) |
Writes the html for the pages counter, eg, Results 1-10 of x
Definition at line 173 of file aliroPageNav.php.
| aliroUserPageNav::writeLeafsCounter | ( | ) |
Writes the html for the leafs counter, eg, Page 1 of x
Definition at line 180 of file aliroPageNav.php.
00180 { 00181 $txt = ''; 00182 $page = $this->limitstart+1; 00183 if ($this->total > 0) { 00184 $txt .= sprintf(T_('Page %d of %d'), $page, $this->total); 00185 } 00186 return $txt; 00187 }
aliroUserPageNav::$isAdmin = false [protected] |
Definition at line 150 of file aliroPageNav.php.
1.5.5