當前位置: 首頁>>代碼示例>>PHP>>正文


PHP TPage::onPreRender方法代碼示例

本文整理匯總了PHP中TPage::onPreRender方法的典型用法代碼示例。如果您正苦於以下問題:PHP TPage::onPreRender方法的具體用法?PHP TPage::onPreRender怎麽用?PHP TPage::onPreRender使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在TPage的用法示例。


在下文中一共展示了TPage::onPreRender方法的7個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: onPreRender

 public function onPreRender($param)
 {
     parent::onPreRender($param);
     if (trim($this->_status)) {
         $this->label1->Text = $this->_status;
     }
 }
開發者ID:Nurudeen,項目名稱:prado,代碼行數:7,代碼來源:RepeaterWithActiveControls.php

示例2: onPreRender

 /**
  * Register the callback script file.
  * @param TEventParameter pre-render parameters
  */
 function onPreRender($param)
 {
     if (!empty($this->callbacksCandidates) && !$this->isScriptFileRegistered(TService_Callback::service)) {
         $this->registerScriptFile(TService_Callback::service, $this->getCallbackScriptFile());
     }
     parent::onPreRender($param);
 }
開發者ID:BackupTheBerlios,項目名稱:php5cms-svn,代碼行數:11,代碼來源:TPageWithCallback.php

示例3: onPreRender

 public function onPreRender($param)
 {
     parent::onPreRender($param);
     $this->registerScriptClientId($this->ListNMBS);
     $this->registerScriptClientId($this->ListMIVB);
     $this->registerScriptClientId($this->ListDeLijn);
     $this->registerScriptClientId($this->SelectedNMBS);
     $this->registerScriptClientId($this->SelectedMIVB);
     $this->registerScriptClientId($this->SelectedDeLijn);
     $this->registerScriptClientId($this->HiddenStations);
 }
開發者ID:rubenslabbinck,項目名稱:Wizard,代碼行數:11,代碼來源:InfoscreenStops.php

示例4: onPreRender

 public function onPreRender($param)
 {
     parent::onPreRender($param);
     $this->button1->Attributes->onclick = "{$this->uploader->getCallbackJavascript()}; return false;";
 }
開發者ID:Nurudeen,項目名稱:prado,代碼行數:5,代碼來源:TActiveFileUploadAutoPostBackTest.php

示例5: onPreRender

 function onPreRender($param)
 {
     parent::onPreRender($param);
     $this->panel1->Style = $this->check1->Checked ? "display:block" : "display:none";
 }
開發者ID:Nurudeen,項目名稱:prado,代碼行數:5,代碼來源:Ticket278.php

示例6: onPreRender

 /**
  * Register the callback script file.
  * @param TEventParameter pre-render parameters
  */
 protected function onPreRender($param)
 {
     $this->registerClientScript('ajax');
     if (!empty($this->callbacksCandidates) && !$this->isScriptFileRegistered(get_class($this))) {
         $script = $this->service->getClientUri();
         $this->registerScriptFile(get_class($this), $script);
     }
     parent::onPreRender($param);
 }
開發者ID:joybinchen,項目名稱:svnmanager-1.09,代碼行數:13,代碼來源:TCallbackPage.php

示例7: onPrerender

 public function onPrerender($param)
 {
     parent::onPreRender($param);
     //If there's a listbox, select the first item (somehow this need to be done at onPrerender, Prado?)
     $sess = $this->Application->getSession();
     if ($sess->has("listbox")) {
         $this->PathHolder->AddPath->setSelectedIndex(0);
     }
 }
開發者ID:joybinchen,項目名稱:svnmanager-1.09,代碼行數:9,代碼來源:GroupPrivilegesEditPage.php


注:本文中的TPage::onPreRender方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。