PHP Класс Auth_OpenID_AX_AttrInfo

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__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.