TransientAttributeDescription Class Reference

Detailed Description

Instances of TransientAttributeDescription describe transient attributes of PersistentObjects.

Author
ingo herwig ingo@.nosp@m.wemo.nosp@m.ve.co.nosp@m.m

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
$nameThe attribute name
$typeThe 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

$name = ''
protected

Definition at line 20 of file TransientAttributeDescription.php.

◆ $type

$type = 'String'
protected

Definition at line 21 of file TransientAttributeDescription.php.