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