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


PHP QApplication::AuthenticatePublic方法代碼示例

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


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

示例1: dirname

<?php

require dirname(__FILE__) . '/../../../includes/prepend.inc.php';
QApplication::AuthenticatePublic(true);
class PublicLoginForm extends ChmsForm
{
    protected $strPageTitle = 'Registration Details';
    protected $pnlDetailsMain;
    protected $pnlDetailsAddress;
    public $objHomeAddressValidator;
    public $objMailingAddressValidator;
    public $btnSave;
    public $btnGoBack;
    protected $lblUsername;
    protected $lblName;
    protected $lblEmail;
    protected $txtPassword;
    protected $txtConfirmPassword;
    protected $lstQuestion;
    protected $txtQuestion;
    protected $txtAnswer;
    protected $txtHomeAddress1;
    protected $txtHomeAddress2;
    protected $txtHomeCity;
    protected $lstHomeState;
    protected $txtHomeZipCode;
    protected $rblMailingAddress;
    protected $txtMailingAddress1;
    protected $txtMailingAddress2;
    protected $txtMailingCity;
    protected $lstMailingState;
開發者ID:alcf,項目名稱:chms,代碼行數:31,代碼來源:details.php

示例2: dirname

<?php

require dirname(__FILE__) . '/../../../includes/prepend.inc.php';
QApplication::AuthenticatePublic();
class PaymentSignupQForm extends ChmsForm
{
    protected $strPageTitle = null;
    /**
     * @var SignupForm
     */
    protected $objSignupForm;
    /**
     * @var SignupEntry
     */
    protected $objSignupEntry;
    protected $objChild;
    protected $dtgProducts;
    protected $lstRequiredWithChoice;
    protected $rblDeposit;
    protected $btnRegister;
    /**
     * @var PaymentPanel
     */
    protected $pnlPayment;
    protected function Form_Create()
    {
        // Attempt to load by Token and then by ID
        $this->objSignupForm = SignupForm::LoadByToken(QApplication::PathInfo(0));
        if (!$this->objSignupForm) {
            $this->objSignupForm = SignupForm::Load(QApplication::PathInfo(0));
        }
開發者ID:alcf,項目名稱:chms,代碼行數:31,代碼來源:payment.php

示例3: dirname

<?php

require dirname(__FILE__) . '/../../../includes/prepend.inc.php';
QApplication::AuthenticatePublic(false);
QApplication::Redirect('/give');
開發者ID:alcf,項目名稱:chms,代碼行數:5,代碼來源:index.php


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