PHP 클래스 Auth_OpenID_AX_AttrInfo

파일 보기 프로젝트 열기: openid/php-openid 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( string $type_uri, integer $count, boolean $required, string $alias ) Construct an attribute information object. Do not call this directly; call make(.
make ( $type_uri, $count = 1, $required = false, $alias = null ) Construct an attribute information object. For parameter details, see the constructor.
wantsUnlimitedValues ( ) When processing a request for this attribute, the OP should call this method to determine whether all available attribute values were requested. If self.count == UNLIMITED_VALUES, this returns True. Otherwise this returns False, in which case self.count is an integer.

메소드 상세

__construct() 공개 메소드

..) instead.
public __construct ( string $type_uri, integer $count, boolean $required, string $alias )
$type_uri string The type URI for this attribute.
$count integer The number of values of this type to request.
$required boolean Whether the attribute will be marked as required in the request.
$alias string The name that should be given to this attribute in the request.

make() 정적인 공개 메소드

Construct an attribute information object. For parameter details, see the constructor.
static public make ( $type_uri, $count = 1, $required = false, $alias = null )

wantsUnlimitedValues() 공개 메소드

When processing a request for this attribute, the OP should call this method to determine whether all available attribute values were requested. If self.count == UNLIMITED_VALUES, this returns True. Otherwise this returns False, in which case self.count is an integer.