TransientAttributeDescription Class Reference
Detailed Description
Instances of TransientAttributeDescription describe transient attributes of PersistentObjects.
Definition at line 18 of file TransientAttributeDescription.php.
Inheritance diagram for TransientAttributeDescription:Public Member Functions | |
| __construct ($name, $type) | |
| getName () | |
| getType () | |
Public Member Functions inherited from AttributeDescription | |
| __construct ($name, $type, array $tags, $defaultValue, $validateType, $validateDescription, $isEditable, $inputType, $displayType) | |
| hasTag ($tag) | |
| matchTags (array $tags=[], $matchMode='all') | |
| getPropertyNames () | |
| getTags () | |
| getDefaultValue () | |
| getValidateType () | |
| getValidateDescription () | |
| getIsEditable () | |
| getInputType () | |
| getDisplayType () | |
Protected Attributes | |
| $name = '' | |
| $type = 'String' | |
Protected Attributes inherited from AttributeDescription | |
| $name = '' | |
| $type = 'String' | |
| $tags = [] | |
| $defaultValue = null | |
| $validateType = '' | |
| $validateDescription = '' | |
| $isEditable = true | |
| $inputType = 'text' | |
| $displayType = 'text' | |
Constructor & Destructor Documentation
◆ __construct()
| __construct | ( | $name, | |
| $type | |||
| ) |
Constructor.
- Parameters
-
$name The attribute name $type The attribute type
Definition at line 28 of file TransientAttributeDescription.php.
Member Function Documentation
◆ getName()
| getName | ( | ) |
Get the attribute name.
- Returns
- String
Reimplemented from AttributeDescription.
Definition at line 39 of file TransientAttributeDescription.php.
◆ getType()
| getType | ( | ) |
Get the attribute type.
- Returns
- String
Reimplemented from AttributeDescription.
Definition at line 47 of file TransientAttributeDescription.php.
Member Data Documentation
◆ $name
|
protected |
Definition at line 20 of file TransientAttributeDescription.php.
◆ $type
|
protected |
Definition at line 21 of file TransientAttributeDescription.php.