当前位置: 首页>>代码示例>>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;未经允许,请勿转载。