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


PHP Viewer::action方法代碼示例

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


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

示例1: action

 protected function action()
 {
     $this->addParameter('opacity', '0');
     $this->showContentOnly = TRUE;
     $this->pageToView = "message";
     parent::action();
 }
開發者ID:raffaelemorgese,項目名稱:levasoo,代碼行數:7,代碼來源:FancyMessage.php

示例2: action

 protected function action()
 {
     $this->showContentOnly = TRUE;
     try {
         $idntwrkr = $this->uriPath[count($this->uriPath) - 1];
     } catch (Exception $exc) {
         $idntwrkr = NULL_PARENT_ROOT;
     }
     Session::setObj(Session::NETWORKER, new Utente($idntwrkr));
     $this->pageToView = "loadntwrkr";
     parent::action();
 }
開發者ID:raffaelemorgese,項目名稱:levasoo,代碼行數:12,代碼來源:LoadNtwrkr.php

示例3: action

 protected function action()
 {
     $this->showContentOnly = TRUE;
     try {
         $idntwrkr = $this->uriPath[count($this->uriPath) - 4];
         $fullname = $this->uriPath[count($this->uriPath) - 3] . ' ' . $this->uriPath[count($this->uriPath) - 2];
         $avatar = Utente::decode($this->uriPath[count($this->uriPath) - 1]);
     } catch (Exception $exc) {
         $idntwrkr = NULL_PARENT_ROOT;
         $fullname = NON_DEFINITO;
         $avatar = Utente::getDefaultAvatarUrl();
     }
     $this->addParameter('idntwrkr', $idntwrkr);
     $this->addParameter('fullname', $fullname);
     $this->addParameter('avatar', $avatar);
     $this->pageToView = "addntwrkrsale";
     parent::action();
 }
開發者ID:raffaelemorgese,項目名稱:levasoo,代碼行數:18,代碼來源:AddNtwrkrSale.php

示例4: action

 protected function action()
 {
     $this->showContentOnly = TRUE;
     try {
         $parent = $this->uriPath[count($this->uriPath) - 4];
         $sponsor = $this->uriPath[count($this->uriPath) - 3] . ' ' . $this->uriPath[count($this->uriPath) - 2];
         $avatar = Utente::decode($this->uriPath[count($this->uriPath) - 1]);
     } catch (Exception $exc) {
         $parent = NULL_PARENT_ROOT;
         $sponsor = NON_DEFINITO;
         $avatar = Utente::getDefaultAvatarUrl();
     }
     $this->addParameter('parent', $parent);
     $this->addParameter('sponsor', $sponsor);
     $this->addParameter('avatar', $avatar);
     $this->pageToView = "newuser";
     parent::action();
 }
開發者ID:raffaelemorgese,項目名稱:levasoo,代碼行數:18,代碼來源:NewUser.php

示例5: action

 protected function action()
 {
     $this->pageToView = "welcome";
     parent::action();
 }
開發者ID:raffaelemorgese,項目名稱:levasoo,代碼行數:5,代碼來源:Welcome.php

示例6: action

 protected function action()
 {
     $this->showContentOnly = TRUE;
     $this->pageToView = "loaduser";
     parent::action();
 }
開發者ID:raffaelemorgese,項目名稱:levasoo,代碼行數:6,代碼來源:LoadUser.php

示例7: action

 protected function action()
 {
     $this->addParameter('opacity', '1');
     $this->pageToView = "message";
     parent::action();
 }
開發者ID:raffaelemorgese,項目名稱:levasoo,代碼行數:6,代碼來源:Message.php


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