Instances of RDBAttributeDescription describe attributes of PersistentObjects in a relational database.
- Author
- ingo herwig ingo@.nosp@m.wemo.nosp@m.ve.co.nosp@m.m
Definition at line 21 of file RDBAttributeDescription.php.
|
| __construct ($name, $type, array $tags, $defaultValue, $validateType, $validateDescription, $isEditable, $inputType, $displayType, $table, $column) |
|
| getTable () |
|
| getColumn () |
|
| __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 () |
|
◆ __construct()
__construct |
( |
|
$name, |
|
|
|
$type, |
|
|
array |
$tags, |
|
|
|
$defaultValue, |
|
|
|
$validateType, |
|
|
|
$validateDescription, |
|
|
|
$isEditable, |
|
|
|
$inputType, |
|
|
|
$displayType, |
|
|
|
$table, |
|
|
|
$column |
|
) |
| |
Constructor.
- Parameters
-
$name | The attribute name |
$type | The attribute type |
$tags | An array of application specific tags that this attribute is tagged with |
$defaultValue | The default value (will be set when creating a blank object, see PersistenceMapper::create()) |
$validateType | A validation type for the value |
$validateDescription | A description for the validation type |
$isEditable | Boolean whether the attribute should be editable, see Control::render() |
$inputType | The input type for the value, see Control::render() |
$displayType | The display type for the value |
$table | The table name |
$column | The column name |
Definition at line 40 of file RDBAttributeDescription.php.
◆ getTable()
◆ getColumn()
◆ $table
◆ $column