constructor PNObject [line 57]
PNObject PNObject(
[init
$init = null], [key
$key = null], [field
$field = null])
|
|
Constructur, init everything to sane defaults and handle parameters
Parameters:
method clearFailedValidationData [line 700]
void clearFailedValidationData(
)
|
|
Clear the failed validation object data for this object
method clearSessionCache [line 709]
void clearSessionCache(
)
|
|
Clear the session cache for this object
method clearValidationErrors [line 691]
void clearValidationErrors(
)
|
|
Clear the failed validation errors for this object
method delete [line 597]
method deletePostProcess [line 624]
void deletePostProcess(
[
$data = null])
|
|
Post-Process the data after a delete. Subclasses can define appropriate implementations.
Overridden in child classes as:
- PNCategoryRegistry::deletePostProcess()
Parameters:
method deletePreProcess [line 615]
void deletePreProcess(
[
$data = null])
|
|
Pre-Process the data prior a delete. Subclasses can define appropriate implementations.
Parameters:
method generateEmptyObject [line 137]
void generateEmptyObject(
)
|
|
Generate an empty object with the fields initialized to null
method get [line 186]
The &get(
[key
$key = 0], [field
$field = 'id'], [force
$force = false])
|
|
Return the current object data. If $key and $field are supplied, the object is fetched again from the database.
Tags:
Overridden in child classes as:
- PNObjectArray::get()
- Return the current object data. Maps to $this->getWhere().
Parameters:
method getData [line 201]
Return the currently set object data
Tags:
Overridden in child classes as:
- PNObjectArray::getData()
- Return the currently set object data
method getDataField [line 476]
The getDataField(
key
$key, [default
$default = null])
|
|
Generic function to retrieve
Tags:
Overridden in child classes as:
- PNObjectArray::getDataField()
- Generic function to retrieve
Parameters:
method getDataFromInput [line 346]
The &getDataFromInput(
[key
$key = null], [default
$default = null], [source
$source = 'REQUEST'])
|
|
Get the data from the various input streams provided.
Tags:
Parameters:
method getDataFromInputPostProcess [line 423]
method getDataFromSession [line 373]
The &getDataFromSession(
[key
$key = null], [default
$default = null], [source
$path = ''], [
$autocreate = true], [
$overwriteExistingVar = false])
|
|
Get the data from the various input streams provided.
Tags:
Parameters:
method getDataFromSessionPostProcess [line 431]
void getDataFromSessionPostProcess(
[
$data = null])
|
|
Post-Process the data after getting it from Session. Subclasses can define appropriate implementations.
Parameters:
method getDataFromSource [line 454]
The getDataFromSource(
source
$source, [key
$key = null], [default
$default = null], [clean
$clean = true])
|
|
Generic access function to retrieve data from the specified source
Tags:
Parameters:
method getFailedValidationData [line 251]
The &getFailedValidationData(
)
|
|
Get the object which failed validation
Tags:
method getHash [line 673]
void getHash(
[
$includeStandardFields = true], [
$objData = null])
|
|
Get the hashcode for this object data
Overridden in child classes as:
- PNObjectArray::getHash()
- Get the hashcode for this object data array
Parameters:
method getID [line 223]
Return the object-ID or false
Tags:
method getIDField [line 212]
Return the object ID field name
Tags:
method getValidation [line 630]
method getWhere [line 240]
The &getWhere(
where
$where)
|
|
Return/Select the object using the given where clause.
Tags:
Overridden in child classes as:
- PNObjectArray::getWhere()
- Return/Select the object using the given where clause.
Parameters:
method hasID [line 264]
Return whether or not this object has a set id field
method insert [line 527]
Generic insert handler for an object (ID is inserted into the object data)
Tags:
Overridden in child classes as:
- PNObjectArray::insert()
- Generic insert handler for an object (ID is inserted into the object data)
method insertPostProcess [line 551]
method insertPreProcess [line 543]
method prayer [line 718]
Print HTML-formatted debug output for the object
method prayerData [line 727]
Print HTML-formatted debug output for the object data
method save [line 510]
Generic insert handler for an object (ID is inserted into the object data). If the object contains a valid ID, it is updated, otherwise it it inserted
Tags:
Overridden in child classes as:
- PNObjectArray::save()
- Save an object - if it has an ID update it, otherwise insert it
method select [line 279]
The &select(
key
$key, [field
$field = 'id'], [where
$where = ''])
|
|
Select the object from the database using the specified key (and field)
Tags:
Overridden in child classes as:
- PNObjectArray::select()
- Generic select handler for an object. Select (and set) the specified object array
Parameters:
method selectPostProcess [line 332]
method setData [line 161]
void setData(
data
$data, [cache
$cache = true])
|
|
Set (and return) the object data.
Overridden in child classes as:
- PNObjectArray::setData()
- Set (and return) the object data. Since we dont' have a definitive key, we don't cache
Parameters:
method setDataField [line 495]
The setDataField(
key
$key, value
$value)
|
|
Generic function to retrieve
Tags:
Parameters:
method setDataToSession [line 401]
The &setDataToSession(
[autocreate
$data = null], [overwriteExistingVar
$key = null], [
$path = ''], [
$autocreate = true], [
$overwriteExistingVar = false])
|
|
Set the current object data into session
Tags:
Parameters:
method setDataToSessionPreProcess [line 439]
void setDataToSessionPreProcess(
[
$data = null])
|
|
Pre-Process the data before writing it to Session. Subclasses can define appropriate implementations.
Parameters:
method update [line 561]
Generic upate handler for an object
Tags:
Overridden in child classes as:
- PNObjectArray::update()
- Generic upate handler for an object
method updatePostProcess [line 586]
method updatePreProcess [line 577]
method validate [line 641]
Generic function to validate an object
Tags:
Overridden in child classes as:
- PNObjectArray::validate()
- Constructur, init everything to sane defaults and handle parameters
method validatePostProcess [line 663]
method _init [line 85]
void _init(
[init
$init = null], [key
$key = null], [field
$field = null])
|
|
Internal intialization routine
Overridden in child classes as:
- PNObjectArray::_init()
- Internal intialization routine
Parameters: