PHP Класс Horde_Kolab_Server_Object_Attribute_Field, horde

Copyright 2008-2016 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
Автор: Gunnar Wrobel ([email protected])
Наследование: extends Horde_Kolab_Server_Object_Attribute_Base
Показать файл Открыть проект

Защищенные методы

Метод Описание
getField ( string $basekey, string $field, string $separator = '$', integer $max_count = null ) : mixed Get a derived attribute value by returning a given position in a delimited string.
quote ( string $string ) : string Quote field separators within a LDAP value.
setField ( string $key, array $attributes, array &$info, string $separator = '$', boolean $unset = true ) : NULL. Set a collapsed attribute value.
unquote ( string $string ) : string Unquote a LDAP value.

Описание методов

getField() защищенный Метод

Get a derived attribute value by returning a given position in a delimited string.
protected getField ( string $basekey, string $field, string $separator = '$', integer $max_count = null ) : mixed
$basekey string Name of the attribute that holds the delimited string.
$field string The position of the field to retrieve.
$separator string The field separator.
$max_count integer The maximal number of fields.
Результат mixed The value of the attribute.

quote() защищенный Метод

Quote field separators within a LDAP value.
protected quote ( string $string ) : string
$string string The string that should be quoted.
Результат string The quoted string.

setField() защищенный Метод

Set a collapsed attribute value.
protected setField ( string $key, array $attributes, array &$info, string $separator = '$', boolean $unset = true ) : NULL.
$key string The attribute to collapse into.
$attributes array The attributes to collapse.
$info array The information currently working on.
$separator string Separate the fields using this character.
$unset boolean Unset the base values.
Результат NULL.

unquote() защищенный Метод

Unquote a LDAP value.
protected unquote ( string $string ) : string
$string string The string that should be unquoted.
Результат string The unquoted string.