本文整理匯總了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;
示例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));
}
示例3: dirname
<?php
require dirname(__FILE__) . '/../../../includes/prepend.inc.php';
QApplication::AuthenticatePublic(false);
QApplication::Redirect('/give');