本文整理匯總了PHP中Authentication::GetAuthData方法的典型用法代碼示例。如果您正苦於以下問題:PHP Authentication::GetAuthData方法的具體用法?PHP Authentication::GetAuthData怎麽用?PHP Authentication::GetAuthData使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類Authentication
的用法示例。
在下文中一共展示了Authentication::GetAuthData方法的3個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: fetchMember
/**
* Fetch Member
*
* @return array
*/
public static function fetchMember()
{
if (!self::$member) {
self::$member = Authentication::GetAuthData();
}
return self::$member;
}
示例2: loadHeaderArguments
/**
* Private: Header Arguments
*
* @return void
*/
private function loadHeaderArguments()
{
if (SESSION_USER_LOGGED) {
$member = Authentication::GetAuthData();
$member = $member['ACCOUNT'];
$GLOBALS['user_logged_data']['info'] = array("member_name" => htmlEncode($member['info']['memb_name']), "member_level" => $this->functions->AccountLevel($member['vip'][VIP_COLUMN]), "member_coin" => array(1 => number_format($member['coin'][COIN_COLUMN_1], 0, false, "."), 2 => number_format($member['coin'][COIN_COLUMN_2], 0, false, "."), 3 => number_format($member['coin'][COIN_COLUMN_3], 0, false, ".")));
}
}
示例3: FactoryCP
/**
* Protected: Factory CP
* Load the user cp modules
*
* @return void
*/
protected function FactoryCP()
{
$this->thisOption = $_GET['option'] ? $_GET['option'] : $this->URLData[1];
$this->userData = Authentication::GetAuthData();
$this->userData = $this->userData['ACCOUNT'];
if (!empty($_SESSION['USERCP_CHARACTER_SELECTED'])) {
$this->character = $_SESSION['USERCP_CHARACTER_SELECTED'];
}
}