Inherits PntPropertyDescriptor.
|
| __construct ($name, $type, $readOnly, $minValue, $maxValue, $minLength, $maxLength, $classDir, $persistent=true) |
|
| getPersistent () |
|
| setPersistent ($value) |
|
| getDbSortPaths () |
|
| isFieldProperty () |
|
| getColumnName () |
|
| setColumnName ($value) |
|
| getTableName () |
|
| setTableName ($aString) |
|
| deriveValueFor ($obj) |
|
| propagateValue_for ($value, $obj) |
|
| getFieldProperties () |
|
| isIdProperty () |
|
| __construct ($name, $type, $readOnly, $minValue, $maxValue, $minLength, $maxLength, $classDir) |
|
| getName () |
|
| setName ($aString) |
|
| isLegalType ($aString) |
|
| getType () |
|
| setType ($aString) |
|
| getReadOnly () |
|
| setReadOnly ($aValue) |
|
| getMinValue () |
|
| setMinValue ($aValue) |
|
| getMaxValue () |
|
| setMaxValue ($aValue) |
|
| getMinLength () |
|
| setMinLength ($aValue) |
|
| getMaxLength () |
|
| setMaxLength ($aValue) |
|
| getPersistent () |
|
| getDbSortPaths () |
|
| setDbSortPaths ($paths) |
|
| getClassDir () |
|
| setClassDir ($value) |
|
| getOwner () |
|
| setOwner ($anPntClassDescriptor) |
|
| getValueValidator () |
|
| getVisible () |
|
| setVisible ($value) |
|
| getHoldsId () |
|
| getCompulsory () |
|
| isDerived () |
|
| isFieldProperty () |
|
| isTypePrimitive () |
|
| isMultiValue () |
|
| getIdPropertyDescriptor () |
|
| __toString () |
|
| getValueFor ($obj, $filter=true) |
|
| setValue_for ($value, $obj) |
|
| getOptionsFor ($obj, $filter=true) |
|
| hasOptionsGetter ($obj) |
|
| getOptionsFilter ($obj, $filter) |
|
| deriveValueFor ($obj) |
|
| propagateValue_for ($value, $obj) |
|
| isValueInOptionsOf ($obj, $filter=false) |
|
| isValue_in ($value, $someObjects) |
|
| _getValueFor ($obj) |
|
| _setValue_for ($value, $obj) |
|
| _getOptionsFor ($obj) |
|
| _deriveValueFor ($obj) |
|
| _propagateValue_for ($value, $obj) |
|
| _getValueValidator () |
|
| getName () |
|
| setName ($aString) |
|
| getLabel () |
|
| setLabel ($aString) |
|
| __toString () |
|
| toString () |
|
__construct |
( |
|
$name, |
|
|
|
$type, |
|
|
|
$readOnly, |
|
|
|
$minValue, |
|
|
|
$maxValue, |
|
|
|
$minLength, |
|
|
|
$maxLength, |
|
|
|
$classDir, |
|
|
|
$persistent = true |
|
) |
| |
Return the property value for the object
Called if no getter method exists. Returns the field value
- Parameters
-
PntObject | $obj | The object whose property value to answer |
Get the paths that can be used to make the database sort by this property
- Returns
- Array of string Navigational paths, not null
Defines the persistency of the property.
- Returns
- mixed PNT_NOT (=false), PNT_READ_WRITE (=true), PNT_READ_ONLY
Return the name of the database table holding the column mapped to this property Is set at propertydescripter adding to the tableName of the overridden propertyDescriptor. if none, is set to the tableName from the classDescriptor.
- See Also
- PntDbClassDescriptor::addPropertyDescriptor()
- Returns
- String tableName
propagateValue_for |
( |
|
$value, |
|
|
|
$obj |
|
) |
| |
Set the property value for the object
Called if no setter method exists and the property is not readOnly. Sets the field value
- Parameters
-
mixed | $value | The value to set |
mixed | $obj | The object whose property value to set |
Defines the persistency of the property.
- Parameters
-
mixed | $value | PNT_NOT (=false), PNT_READ_WRITE (=true), PNT_READ_ONLY |
The documentation for this class was generated from the following file: