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)
mixed
$length
= NULL (line 82)
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::$_helpers
P4A_Object::$_id
P4A_Object::$_map_actions
P4A_Object::$_name
P4A_Object::$_objects
P4A_Object::$_parent_id
getAliasOf (line 238)
getDefaultValue (line 212)
getDSN (line 189)
getLength (line 248)
getNewValue (line 139)
Returns the new value of the data field.
getSQLNewValue (line 149)
Returns the value of the data field for safe SQL queries.
getSQLValue (line 120)
Returns the value of the data field for safe SQL queries.
getTable (line 228)
getType (line 169)
Returns the type of the data_field.
getValue (line 110)
Returns the value of the data field.
isReadOnly (line 179)
p4a_data_field (line 90)
Class constructor.
Sets ID and name for the object.
setAliasOf (line 233)
setDefaultValue (line 194)
setDSN (line 184)
setLength (line 243)
setNewValue (line 129)
Sets the new value of the data field.
setReadOnly (line 174)
setSequence (line 203)
setTable (line 223)
setType (line 159)
Sets the type of the data_field.
setValue (line 99)
Sets the value of the data field.
Inherited From P4A_Object
P4A_Object::actionHandler()
P4A_Object::build()
P4A_Object::destroy()
P4A_Object::dropIntercept()
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()
P4A_Object::_loadHelper()
P4A_Object::__call()
Documentation generated on Mon, 07 Jan 2008 11:29:14 +0100 by phpDocumentor 1.4.0