本文整理汇总了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();
}
示例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();
}
示例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();
}
示例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();
}
示例5: action
protected function action()
{
$this->pageToView = "welcome";
parent::action();
}
示例6: action
protected function action()
{
$this->showContentOnly = TRUE;
$this->pageToView = "loaduser";
parent::action();
}
示例7: action
protected function action()
{
$this->addParameter('opacity', '1');
$this->pageToView = "message";
parent::action();
}