예제 #1
0
파일: IWPage.php 프로젝트: AxelPanda/ibos
 public function init()
 {
     $this->setCurrentUrl($this->currentUrl);
     $this->currentPage = parent::getCurrentPage(false) + 1;
     $this->itemCount = parent::getPageCount();
     $this->header = Ibos::lang("page_header", "page");
     $this->htmlOptions["id"] = Ibos::lang("htmlOptions_id", "page");
     $this->htmlOptions["class"] = Ibos::lang("htmlOptions_class", "page");
     $this->pervNextHtmlOption["id"] = Ibos::lang("pervNextHtmlOption_id", "page");
     $this->pervNextHtmlOption["class"] = Ibos::lang("pervNextHtmlOption_class", "page");
     $this->setFooter();
     $this->prevPageLabel = Ibos::lang("prevpage_label", "page");
     $this->nextPageLabel = Ibos::lang("nextpage_label", "page");
     $this->firstPageLabel = Ibos::lang("firstpage_label", "page");
     $this->firstPageCssClass = Ibos::lang("firstpage_cssclass", "page");
     $this->lastPageLabel = Ibos::lang("lastpage_label", "page");
     $this->lastPageCssClass = Ibos::lang("lastpage_cssclass", "page");
     $this->hiddenPageCssClass = Ibos::lang("hiddenpage_cssclass", "page");
     $this->selectedPageCssClass = Ibos::lang("selected_cssclass", "page");
     $this->cssFile = false;
     $this->previousPageCssClass = "btn btn-small";
     $this->nextPageCssClass = "btn btn-small";
 }