本文整理汇总了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'];
}
}