AttributeDescription.php
35 * @param $defaultValue The default value (will be set when creating a blank object, see PersistenceMapper::create())
66 * @param $tags An array of tags that the attribute should match. Empty array results in true the given matchMode (default: empty array)
matchTags(array $tags=[], $matchMode='all')
Check if this attribute is tagged with the given application specific tags.
Definition: AttributeDescription.php:70
$displayType
Definition: AttributeDescription.php:28
getTags()
Get the application specific tags that this attribute is tagged with.
Definition: AttributeDescription.php:120
$validateDescription
Definition: AttributeDescription.php:25
__construct($name, $type, array $tags, $defaultValue, $validateType, $validateDescription, $isEditable, $inputType, $displayType)
Constructor.
Definition: AttributeDescription.php:42
Instances of AttributeDescription describe attributes of PersistentObjects.
Definition: AttributeDescription.php:18
getIsEditable()
Check whether the attribute should be editable.
Definition: AttributeDescription.php:152
getValidateDescription()
Get the description for the validation type.
Definition: AttributeDescription.php:144
$isEditable
Definition: AttributeDescription.php:26
$defaultValue
Definition: AttributeDescription.php:23
$inputType
Definition: AttributeDescription.php:27
$validateType
Definition: AttributeDescription.php:24
getPropertyNames()
Return an array of property names defined in this attribute description.
Definition: AttributeDescription.php:95
hasTag($tag)
Check if this attribute has the given application specific tag.
Definition: AttributeDescription.php:60