/** * Main function, call to build page * Do not change methods call oreder!! * */ function prepareForBuildPage() { //Sorting fields $this->orderClause->buildOrderParams(); // delete record $this->deleteRecords(); // PRG rule, to avoid POSTDATA resend $this->rulePRG(); // build sql query $this->buildSQL(); // build pagination block $this->buildPagination(); // seek page must be executed after build pagination $this->seekPageInRecSet($this->querySQL); $this->setGoogleMapsParams($this->listFields); // fill grid data $this->fillGridData(); // build search panel if ($this->permis[$this->tName]["search"]) { $this->buildSearchPanel("adv_search_panel"); } // add common js code $this->addCommonJs(); // add common html code $this->addCommonHtml(); // Set common assign $this->commonAssign(); // build admin block $this->assignAdmin(); }
/** * Main function, call to build page * Do not change methods call oreder!! */ function prepareForBuildPage() { // build column hiding CSS $this->buildMobileCssRules(); //Sorting fields $this->orderClause->buildOrderParams(); // delete record $this->deleteRecords(); // PRG rule, to avoid POSTDATA resend $this->rulePRG(); // build sql query $this->buildSQL(); // build pagination block $this->buildPagination(); // seek page must be executed after build pagination $this->seekPageInRecSet($this->querySQL); $this->setGoogleMapsParams($this->listFields); // fill grid data $this->fillGridData(); // add common js code $this->addCommonJs(); // add common html code $this->addCommonHtml(); // Set common assign $this->commonAssign(); // Add cells' custom css $this->addCustomCss(); // build admin block $this->assignAdmin(); }