Detailed Description
Instances of ReferenceDescription describe reference attributes of PersistentObjects.
Definition at line 21 of file ReferenceDescription.php.
Inheritance diagram for ReferenceDescription:Public Member Functions | |
| __construct ($name, $otherType, $otherName) | |
| getOtherType () | |
| getOtherName () | |
| getName () | |
| getType () | |
| getTags () | |
| getDefaultValue () | |
| getValidateType () | |
| getValidateDescription () | |
| getIsEditable () | |
| getInputType () | |
| getDisplayType () | |
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 () | |
Protected Attributes | |
| $otherType = '' | |
| $otherName = '' | |
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, | |
| $otherType, | |||
| $otherName | |||
| ) |
Constructor.
- Parameters
-
$name The name of the reference $otherType The name of the referenced type (must be the role name,
- See also
- RelationDescription)
- Parameters
-
$otherName The name of the referenced attribute in the referenced type
Definition at line 32 of file ReferenceDescription.php.
Member Function Documentation
◆ getOtherType()
| getOtherType | ( | ) |
Get the name of the referenced type.
- Returns
- String
Definition at line 42 of file ReferenceDescription.php.
◆ getOtherName()
| getOtherName | ( | ) |
Get the name of the referenced attribute in the referenced type.
- Returns
- String
Definition at line 50 of file ReferenceDescription.php.
◆ getName()
| getName | ( | ) |
Get the attribute name.
- Returns
- String
Reimplemented from AttributeDescription.
Definition at line 58 of file ReferenceDescription.php.
◆ getType()
| getType | ( | ) |
Get the attribute type.
- Returns
- String
Reimplemented from AttributeDescription.
Definition at line 66 of file ReferenceDescription.php.
◆ getTags()
| getTags | ( | ) |
Get the application specific tags that this attribute is tagged with.
- Returns
- Array of String
Reimplemented from AttributeDescription.
Definition at line 75 of file ReferenceDescription.php.
◆ getDefaultValue()
| getDefaultValue | ( | ) |
Get the default value.
- Returns
- Mixed
Reimplemented from AttributeDescription.
Definition at line 84 of file ReferenceDescription.php.
◆ getValidateType()
| getValidateType | ( | ) |
Get the validation type for the value.
- Returns
- String
Reimplemented from AttributeDescription.
Definition at line 93 of file ReferenceDescription.php.
◆ getValidateDescription()
| getValidateDescription | ( | ) |
Get the description for the validation type.
- Returns
- String
Reimplemented from AttributeDescription.
Definition at line 102 of file ReferenceDescription.php.
◆ getIsEditable()
| getIsEditable | ( | ) |
Check whether the attribute should be editable.
- Returns
- Boolean
Reimplemented from AttributeDescription.
Definition at line 111 of file ReferenceDescription.php.
◆ getInputType()
| getInputType | ( | ) |
Get the input type for the value.
- Returns
- String
Reimplemented from AttributeDescription.
Definition at line 119 of file ReferenceDescription.php.
◆ getDisplayType()
| getDisplayType | ( | ) |
Get the display type for the value.
- Returns
- String
Reimplemented from AttributeDescription.
Definition at line 128 of file ReferenceDescription.php.
Member Data Documentation
◆ $otherType
|
protected |
Definition at line 23 of file ReferenceDescription.php.
◆ $otherName
|
protected |
Definition at line 24 of file ReferenceDescription.php.