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