Zikula_System_Modules
[ class tree: Zikula_System_Modules ] [ index: Zikula_System_Modules ] [ all elements ]

Class: PNCategory

Source Location: /system/Categories/classes/PNCategory.class.php

Class Overview

PNObject
   |
   --PNCategory

PNCategory


Methods


Inherited Variables

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]
PNCategory



[ Top ]


Class Methods


constructor PNCategory [line 22]

PNCategory PNCategory( [ $init = null], [ $key = 0])



Parameters:

   $init  
   $key  

[ Top ]

method copy [line 257]

void copy( $newParentID)



Parameters:

   $newParentID  

[ Top ]

method delete [line 222]

void delete( [ $deleteSubcats = false], [ $newParentID = 0])



Overrides PNObject::delete() (Generic delete handler for an object)

Parameters:

   $deleteSubcats  
   $newParentID  

[ Top ]

method deleteMoveSubcategories [line 217]

void deleteMoveSubcategories( $newParentID)



Parameters:

   $newParentID  

[ Top ]

method getDataFromInputPostProcess [line 46]

void getDataFromInputPostProcess( [ $data = null])



Overrides PNObject::getDataFromInputPostProcess() (Post-Process the data after getting it from Input. Subclasses can define appropriate implementations.)

Parameters:

   $data  

[ Top ]

method insertPostProcess [line 120]

void insertPostProcess( [ $data = null])



Overrides PNObject::insertPostProcess() (Post-Process the data after an insert. Subclasses can define appropriate implementations.)

Parameters:

   $data  

[ Top ]

method insertPreProcess [line 98]

void insertPreProcess( [ $data = null])



Overrides PNObject::insertPreProcess() (Pre-Process the data prior to an insert. Subclasses can define appropriate implementations.)

Parameters:

   $data  

[ Top ]

method move [line 244]

void move( $newParentID)



Parameters:

   $newParentID  

[ Top ]

method selectPostProcess [line 82]

void selectPostProcess( [ $data = null])



Overrides PNObject::selectPostProcess() (Post-Process the newly selected object. Subclasses can define appropriate implementations.)

Parameters:

   $data  

[ Top ]

method updatePostProcess [line 170]

void updatePostProcess( [ $data = null])



Overrides PNObject::updatePostProcess() (Post-Process the data after an update. Subclasses can define appropriate implementations.)

Parameters:

   $data  

[ Top ]

method updatePreProcess [line 142]

void updatePreProcess( [ $data = null])



Overrides PNObject::updatePreProcess() (Pre-Process the data prior to an update. Subclasses can define appropriate implementations.)

Parameters:

   $data  

[ Top ]

method validatePostProcess [line 192]

void validatePostProcess( [ $data = null])



Overrides PNObject::validatePostProcess() (Post-Process the basic object validation with class specific logic.)

Parameters:

   $data  

[ Top ]


Documentation generated on Fri, 18 Jul 2008 21:52:47 +0200 by phpDocumentor 1.4.1