$name
$name :
The attribute name.
The base class representing Kolab object attributes.
Copyright 2008-2017 Horde LLC (http://www.horde.org/)
See the enclosed file LICENSE for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
__construct(\Horde_Kolab_Server_Structure_Attribute_Interface $attribute, string $name)
Constructor
\Horde_Kolab_Server_Structure_Attribute_Interface | $attribute | The internal attribute adapter. |
string | $name | The name of this attribute. |
getAttribute() : \Horde_Kolab_Server_Structure_Attribute_Interface
Return the internal attribute adapter.
The internal attribute.
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.
string | $basekey | Name of the attribute that holds the delimited string. |
string | $field | The position of the field to retrieve. |
string | $separator | The field separator. |
integer | $max_count | The maximal number of fields. |
The value of the attribute.
setField(string $key, array $attributes, array $info, string $separator = '$', boolean $unset = true) : \NULL.
Set a collapsed attribute value.
string | $key | The attribute to collapse into. |
array | $attributes | The attributes to collapse. |
array | $info | The information currently working on. |
string | $separator | Separate the fields using this character. |
boolean | $unset | Unset the base values. |