PHP Class 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.
Inheritance: extends Horde_Kolab_Server_Object_Attribute_Base
Afficher le fichier Open project: horde/horde

Méthodes protégées

Méthode Description
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.

Method Details

getField() protected méthode

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.
Résultat mixed The value of the attribute.

quote() protected méthode

Quote field separators within a LDAP value.
protected quote ( string $string ) : string
$string string The string that should be quoted.
Résultat string The quoted string.

setField() protected méthode

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.
Résultat NULL.

unquote() protected méthode

Unquote a LDAP value.
protected unquote ( string $string ) : string
$string string The string that should be unquoted.
Résultat string The unquoted string.