public function __construct($module,$cols) { $this->cols=$cols; $objHTML=ClsNaanalLibrary::getInstance("html"); $this->objTable=$objHTML->getGenerator()->getTable("search",$cols); //$this->objTable->setParam("border",1); pageHeaderInclude('js/export.js'); pageHeaderInclude('js/searchSaved.js'); pageHeaderInclude('js/suggest.js'); parent::__construct($module); $arrPager=ClsNaanalRequest::getInstance()->getPager(); $pagination=getPagination("index.php?module={$module}", $this->objAuieoModel->getTotalRecords() , $arrPager["current_page"], $arrPager["items_per_page"]); $this->assign("total_records",$this->objAuieoModel->getTotalRecords()); $this->assign("pagination",$pagination); }
public function __construct($module) { loadScriptFiles("js/export.js","export.js","js"); loadScriptFiles("js/searchSaved.js","searchSaved.js","js"); loadScriptFiles("js/suggest.js","suggest.js","js"); parent::__construct($module); }