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 ()
 
 getName ()
 
 getType ()
 
 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 (   $name,
  $type 
)

Constructor.

Parameters
$nameThe attribute name
$typeThe attribute type

Definition at line 28 of file TransientAttributeDescription.php.

Member Function Documentation

getName ( )

Get the attribute name.

Returns
String

Definition at line 39 of file TransientAttributeDescription.php.

getType ( )

Get the attribute type.

Returns
String

Definition at line 47 of file TransientAttributeDescription.php.

Member Data Documentation

$name = ''
protected

Definition at line 20 of file TransientAttributeDescription.php.

$type = 'String'
protected

Definition at line 21 of file TransientAttributeDescription.php.