Class: PNObjectArray
Source Location: /pnobjlib/PNObjectArray.class.php
Class OverviewPNObject | --PNObjectArray PNObjectArrayUtil |
Methods |
Inherited Variables
Class: PNObject
- PNObject::$_columns
- PNObject::$_GET_FROM_DB
- PNObject::$_GET_FROM_GET
- PNObject::$_GET_FROM_POST
- PNObject::$_GET_FROM_REQUEST
- PNObject::$_GET_FROM_SESSION
- PNObject::$_GET_FROM_VALIDATION_FAILED
- PNObject::$_objColumnArray
- PNObject::$_objData
- PNObject::$_objField
- PNObject::$_objJoin
- PNObject::$_objKey
- PNObject::$_objPath
- PNObject::$_objPermissionFilter
- PNObject::$_objSessionPath
- PNObject::$_objType
- PNObject::$_objValidation
- PNObject::$_table
Inherited Methods
Class: PNObject
- PNObject::PNObject()
- Constructur, init everything to sane defaults and handle parameters
- PNObject::clearFailedValidationData()
- Clear the failed validation object data for this object
- PNObject::clearSessionCache()
- Clear the session cache for this object
- PNObject::clearValidationErrors()
- Clear the failed validation errors for this object
- PNObject::delete()
- Generic delete handler for an object
- PNObject::deletePostProcess()
- Post-Process the data after a delete. Subclasses can define appropriate implementations.
- PNObject::deletePreProcess()
- Pre-Process the data prior a delete. Subclasses can define appropriate implementations.
- PNObject::generateEmptyObject()
- Generate an empty object with the fields initialized to null
- PNObject::get()
- Return the current object data. If $key and $field are supplied, the object is fetched again from the database.
- PNObject::getData()
- Return the currently set object data
- PNObject::getDataField()
- Generic function to retrieve
- PNObject::getDataFromInput()
- Get the data from the various input streams provided.
- PNObject::getDataFromInputPostProcess()
- Post-Process the data after getting it from Input. Subclasses can define appropriate implementations.
- PNObject::getDataFromSession()
- Get the data from the various input streams provided.
- PNObject::getDataFromSessionPostProcess()
- Post-Process the data after getting it from Session. Subclasses can define appropriate implementations.
- PNObject::getDataFromSource()
- Generic access function to retrieve data from the specified source
- PNObject::getFailedValidationData()
- Get the object which failed validation
- PNObject::getHash()
- Get the hashcode for this object data
- PNObject::getID()
- Return the object-ID or false
- PNObject::getIDField()
- Return the object ID field name
- PNObject::getValidation()
- PNObject::getWhere()
- Return/Select the object using the given where clause.
- PNObject::hasID()
- Return whether or not this object has a set id field
- PNObject::insert()
- Generic insert handler for an object (ID is inserted into the object data)
- PNObject::insertPostProcess()
- Post-Process the data after an insert. Subclasses can define appropriate implementations.
- PNObject::insertPreProcess()
- Pre-Process the data prior to an insert. Subclasses can define appropriate implementations.
- PNObject::prayer()
- Print HTML-formatted debug output for the object
- PNObject::prayerData()
- Print HTML-formatted debug output for the object data
- PNObject::save()
- 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
- PNObject::select()
- Select the object from the database using the specified key (and field)
- PNObject::selectPostProcess()
- Post-Process the newly selected object. Subclasses can define appropriate implementations.
- PNObject::setData()
- Set (and return) the object data.
- PNObject::setDataField()
- Generic function to retrieve
- PNObject::setDataToSession()
- Set the current object data into session
- PNObject::setDataToSessionPreProcess()
- Pre-Process the data before writing it to Session. Subclasses can define appropriate implementations.
- PNObject::update()
- Generic upate handler for an object
- PNObject::updatePostProcess()
- Post-Process the data after an update. Subclasses can define appropriate implementations.
- PNObject::updatePreProcess()
- Pre-Process the data prior to an update. Subclasses can define appropriate implementations.
- PNObject::validate()
- Generic function to validate an object
- PNObject::validatePostProcess()
- Post-Process the basic object validation with class specific logic.
- PNObject::_init()
- Internal intialization routine
Class Details
[line 20]
PNObjectArrayUtil
[ Top ]
Class Methods
constructor PNObjectArray [line 28]
|
Constructur, init everything to sane defaults and handle parameters
Parameters:
[ Top ]
method clean [line 369]
method delete [line 324]
|
Generic delete handler for an object
Tags:
Overrides PNObject::delete() (Generic delete handler for an object)
[ Top ]
method deleteWhere [line 348]
method genFilter [line 137]
|
Generate a filter for the array view. Default implementation which can be overridden by subclasses.
Tags:
Parameters:
[ Top ]
method get [line 181]
|
Return the current object data. Maps to $this->getWhere().
Tags:
Overrides PNObject::get() (Return the current object data. If $key and $field are supplied, the object is fetched again from the database.)
Parameters:
[ Top ]
method getCount [line 119]
|
Return the record count for the given object set
Tags:
Parameters:
[ Top ]
method getData [line 192]
|
Return the currently set object data
Tags:
Overrides PNObject::getData() (Return the currently set object data)
[ Top ]
method getDataField [line 246]
|
Generic function to retrieve
Tags:
Overrides PNObject::getDataField() (Generic function to retrieve)
Parameters:
[ Top ]
method getHash [line 459]
|
Get the hashcode for this object data array
Overrides PNObject::getHash() (Get the hashcode for this object data)
Parameters:
[ Top ]
method getSelector [line 404]
|
Get a selector for the object array
Tags:
Parameters:
[ Top ]
method getWhere [line 156]
|
Return/Select the object using the given where clause.
Tags:
Overrides PNObject::getWhere() (Return/Select the object using the given where clause.)
Parameters:
[ Top ]
method insert [line 280]
|
Generic insert handler for an object (ID is inserted into the object data)
Tags:
Overrides PNObject::insert() (Generic insert handler for an object (ID is inserted into the object data))
[ Top ]
method save [line 262]
|
Save an object - if it has an ID update it, otherwise insert it
Tags:
Overrides PNObject::save() (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)
[ Top ]
method select [line 210]
|
Generic select handler for an object. Select (and set) the specified object array
Tags:
Overrides PNObject::select() (Select the object from the database using the specified key (and field))
Parameters:
[ Top ]
method selectPostProcess [line 236]
|
Iterate over the object data and post-process it
Tags:
Overrides PNObject::selectPostProcess() (Post-Process the newly selected object. Subclasses can define appropriate implementations.)
Parameters:
[ Top ]
method setData [line 100]
|
Set (and return) the object data. Since we dont' have a definitive key, we don't cache
Overrides PNObject::setData() (Set (and return) the object data.)
Parameters:
[ Top ]
method update [line 302]
|
Generic upate handler for an object
Tags:
Overrides PNObject::update() (Generic upate handler for an object)
[ Top ]
method validate [line 441]
|
Constructur, init everything to sane defaults and handle parameters
Tags:
Overrides PNObject::validate() (Generic function to validate an object)
[ Top ]
method _init [line 56]
|
Internal intialization routine
Overrides PNObject::_init() (Internal intialization routine)
Parameters:
[ Top ]
