PHP 클래스 Sam, horde

Copyright 2002-2016 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (GPL). If you did not receive this file, see http://www.horde.org/licenses/gpl.
저자: Chris Bowlby ([email protected])
저자: Max Kalika ([email protected])
저자: Jan Schneider ([email protected])
파일 보기 프로젝트 열기: horde/horde 1 사용 예제들

공개 메소드들

메소드 설명
getAttributes ( ) : array Find a list of configured attributes.
getPreferredBackend ( ) : array Determines the backend to use.
infoAttribute ( $type = '' ) : boolean Find out whether the given attribute type is informational only.
mapUser ( string | boolean $hordeauth ) : string Converts the current user's name, optionally removing the domain part or applying any configured hooks.

메소드 상세

getAttributes() 공개 정적인 메소드

Load the attributes configuration file or uses an already-loaded cached copy. If loading for the first time, cache it for later use.
public static getAttributes ( ) : array
리턴 array The attributes list.

getPreferredBackend() 공개 정적인 메소드

This decision is based on the global 'SERVER_NAME' and 'HTTP_HOST' server variables and the contents of the 'preferred' either field in the backend's definition. The 'preferred' field may take a single value or an array of multiple values.
public static getPreferredBackend ( ) : array
리턴 array The backend entry.

infoAttribute() 공개 정적인 메소드

Find out whether the given attribute type is informational only.
public static infoAttribute ( $type = '' ) : boolean
리턴 boolean Returns true if the given type is known to be informational only.

mapUser() 공개 정적인 메소드

Converts the current user's name, optionally removing the domain part or applying any configured hooks.
public static mapUser ( string | boolean $hordeauth ) : string
$hordeauth string | boolean Defines how to use the authenticated Horde username. If set to 'full', will initialize the username to contain the @realm part. Otherwise, the username will initialize as a simple login.
리턴 string The converted username.