Component property 'TContent.Repeater' is not defined.
/home/users/1/gyertyagyujtas.hu/web/www/html/protected/Common/Pager.php (10)
0001: <?php
0002: class Pager extends TPager {
0003: const BASE_PAGE='base_page_for_links';
0004:
0005: public function onInit($param) {
0006: parent::onInit($param);
0007: if(!$this->Page->IsPostBack) {
0008: if ($pg=(int)$this->Page->Request['oldal']) { // Ettől az oldaltól
0009: $pager=$this->ControlToPaginate;
0010: $this->Parent->$pager->CurrentPageIndex=$pg-1;
0011: }
0012: }
0013: }
0014:
0015: protected function createPagerButton($buttonType, $enabled, $text, $commandName, $commandParameter) {
0016: switch ($commandName) {
0017: case TPager::CMD_PAGE_FIRST: $enabled=true; $commandName=TPager::CMD_PAGE; $commandParameter=1; break;
0018: case TPager::CMD_PAGE_PREV : $commandName=TPager::CMD_PAGE; $commandParameter=$this->getCurrentPageIndex(); $enabled=($commandParameter>0); break;
0019: case TPager::CMD_PAGE_NEXT : $commandName=TPager::CMD_PAGE; $commandParameter=$this->getCurrentPageIndex()+2; $enabled=($commandParameter<=$this->getPageCount()); break;
0020: case TPager::CMD_PAGE_LAST : $enabled=true; $commandName=TPager::CMD_PAGE; $commandParameter=$this->getPageCount(); break;
0021: case TPager::CMD_PAGE : break;
0022: default : return parent::createPagerButton($buttonType, $enabled, $text, $commandName, $commandParameter);
#0 /usr/share/prado/prado-3.2.4.re2e58b8/framework/pradolite.php(4557): TComponent->__get()
#1 /home/users/1/gyertyagyujtas.hu/web/www/html/protected/Common/Pager.php(10): TControl->__get()
#2 /usr/share/prado/prado-3.2.4.re2e58b8/framework/pradolite.php(5160): Pager->onInit()
#3 /usr/share/prado/prado-3.2.4.re2e58b8/framework/pradolite.php(5145): TControl->initRecursive()
#4 /usr/share/prado/prado-3.2.4.re2e58b8/framework/pradolite.php(5145): TControl->initRecursive()
#5 /usr/share/prado/prado-3.2.4.re2e58b8/framework/pradolite.php(5145): TControl->initRecursive()
#6 /usr/share/prado/prado-3.2.4.re2e58b8/framework/pradolite.php(6705): TControl->initRecursive()
#7 /usr/share/prado/prado-3.2.4.re2e58b8/framework/pradolite.php(6821): TCompositeControl->initRecursive()
#8 /usr/share/prado/prado-3.2.4.re2e58b8/framework/pradolite.php(5145): TTemplateControl->initRecursive()
#9 /usr/share/prado/prado-3.2.4.re2e58b8/framework/pradolite.php(6705): TControl->initRecursive()
#10 /usr/share/prado/prado-3.2.4.re2e58b8/framework/pradolite.php(6821): TCompositeControl->initRecursive()
#11 /usr/share/prado/prado-3.2.4.re2e58b8/framework/pradolite.php(7430): TTemplateControl->initRecursive()
#12 /usr/share/prado/prado-3.2.4.re2e58b8/framework/pradolite.php(7424): TPage->processNormalRequest()
#13 /usr/share/prado/prado-3.2.4.re2e58b8/framework/pradolite.php(9625): TPage->run()
#14 /usr/share/prado/prado-3.2.4.re2e58b8/framework/pradolite.php(9591): TPageService->runPage()
#15 /usr/share/prado/prado-3.2.4.re2e58b8/framework/pradolite.php(10772): TPageService->run()
#16 /usr/share/prado/prado-3.2.4.re2e58b8/framework/pradolite.php(10303): TApplication->runService()
#17 /home/users/1/gyertyagyujtas.hu/web/www/html/index.php(28): TApplication->run()
#18 {main}