P4A_Data_FieldEvery DATA_SOURCE field is a DATA_FIELD.
It's used to emulate some database behaviours such as default values.
It can be considered the same as a database table's field.
Located in /p4a/objects/data_field.php (line 48)
P4A_Object | --P4A_Data_Field
mixed
$alias_of
= NULL (line 81)
string
$default_value
= NULL (line 69)
The default value for the field in new rows.
mixed
$is_read_only
= FALSE (line 78)
string
$new_value
= NULL (line 62)
The new value of field
mixed
$sequence
= NULL (line 79)
mixed
$table
= NULL (line 80)
string
$type
= 'text' (line 76)
The default value for the field in new rows.
string
$value
= NULL (line 55)
The value of field.
Inherited from P4A_Object
P4A_Object::$_id
P4A_Object::$_map_actions
P4A_Object::$_name
P4A_Object::$_objects
P4A_Object::$_parent_id
getAliasOf (line 209)
getDefaultValue (line 187)
getDSN (line 168)
getNewValue (line 128)
Returns the new value of the data field.
getTable (line 201)
getType (line 148)
Returns the type of the data_field.
getValue (line 109)
Returns the value of the data field.
isReadOnly (line 158)
p4a_data_field (line 89)
Class constructor.
Sets ID and name for the object.
setAliasOf (line 205)
setDefaultValue (line 173)
setDSN (line 163)
setNewValue (line 118)
Sets the new value of the data field.
setReadOnly (line 153)
setSequence (line 182)
setTable (line 197)
setType (line 138)
Sets the type of the data_field.
setValue (line 98)
Sets the value of the data field.
Inherited From P4A_Object
P4A_Object::actionHandler()
P4A_Object::build()
P4A_Object::destroy()
P4A_Object::errorHandler()
P4A_Object::getId()
P4A_Object::getName()
P4A_Object::getObjectType()
P4A_Object::getParentID()
P4A_Object::implementMethod()
P4A_Object::intercept()
P4A_Object::isActionTriggered()
P4A_Object::p4a_object()
P4A_Object::setName()
P4A_Object::setParentID()
P4A_Object::void()
Documentation generated on Fri, 26 May 2006 12:43:04 +0200 by phpDocumentor 1.3.0RC5