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 44)
P4A_Object | --P4A_Data_Field
string
$alias_of
= null (line 95)
string
$default_value
= null (line 59)
boolean
$is_read_only
= false (line 70)
integer
$length
= null (line 100)
string
$new_value
= null (line 54)
integer
$num_of_decimals
= null (line 105)
string
$schema
= null (line 85)
string
$sequence
= null (line 75)
string
$table
= null (line 90)
string
$type
= 'text' (line 65)
The default value for the field in new rows.
string
$upload_subpath
= null (line 111)
Path under P4A_UPLOADS_PATH where uploads will be stored
string
$value
= null (line 49)
string
$_DSN
= null (line 80)
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 302)
getDefaultValue (line 244)
getDSN (line 212)
getLength (line 319)
getNewValue (line 155)
getNumOfDecimals (line 337)
getSchema (line 266)
getSchemaTableField (line 345)
getSQLNewValue (line 164)
Returns the value of the data field for safe SQL queries
getSQLValue (line 137)
Returns the value of the data field for safe SQL queries
getTable (line 284)
getType (line 182)
getUploadSubpath (line 373)
getValue (line 128)
setLength (line 310)
setNumOfDecimals (line 328)
setUploadSubpath (line 364)
Sets the subpath of P4A_UPLOADS_PATH where the upload will happen
Inherited From P4A_Object
P4A_Object::__construct()
P4A_Object::actionHandler()
P4A_Object::build()
P4A_Object::destroy()
P4A_Object::dropImplement()
P4A_Object::dropMethod()
P4A_Object::errorHandler()
P4A_Object::getId()
P4A_Object::getName()
P4A_Object::getObjectType()
P4A_Object::getParentID()
P4A_Object::implement()
P4A_Object::intercept()
P4A_Object::isActionTriggered()
P4A_Object::setName()
P4A_Object::setParentID()
P4A_Object::void()
P4A_Object::_loadHelper()
P4A_Object::__call()
Documentation generated on Tue, 02 Sep 2008 10:03:59 +0200 by phpDocumentor 1.4.2