本文整理匯總了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();
}