XOOPS 2.5.6  Final
 All Classes Namespaces Files Functions Variables Pages
XoopsConfigCategoryHandler Class Reference
Inheritance diagram for XoopsConfigCategoryHandler:
Inheritance graph

Public Member Functions

create ($isNew=true)
 
 delete (&$confcat)
 
get ($id)
 
 getCatByModule ($modid=0)
 
 getObjects ($criteria=null, $id_as_key=false)
 
 insert (&$confcat)
 
- Public Member Functions inherited from XoopsObjectHandler
create ()
 
 delete (&$object)
 
get ($int_id)
 
 insert (&$object)
 
 XoopsObjectHandler (&$db)
 

Additional Inherited Members

- Public Attributes inherited from XoopsObjectHandler
 $db
 

Detailed Description

Definition at line 89 of file configcategory.php.

Member Function Documentation

& XoopsConfigCategoryHandler::create (   $isNew = true)

Create a new category

Parameters
bool$isNewFlag the new object as "new"?
Returns
object New XoopsConfigCategory

Definition at line 98 of file configcategory.php.

XoopsConfigCategoryHandler::delete ( $confcat)

Delelete a XoopsConfigCategory

Parameters
object&$confcatXoopsConfigCategory
Returns
bool TRUE on success

: Change to if (!(class_exists($this->className) && $obj instanceof $this->className)) when going fully PHP5

Definition at line 179 of file configcategory.php.

References $result, and $sql.

& XoopsConfigCategoryHandler::get (   $id)

Retrieve a XoopsConfigCategory

Parameters
int$idID
Returns
object XoopsConfigCategory, FALSE on fail

Definition at line 114 of file configcategory.php.

References $result, and $sql.

XoopsConfigCategoryHandler::getCatByModule (   $modid = 0)

#@+

Deprecated:

Definition at line 238 of file configcategory.php.

XoopsConfigCategoryHandler::getObjects (   $criteria = null,
  $id_as_key = false 
)

Get some XoopsConfigCategorys

Parameters
object$criteriaCriteriaElement
bool$id_as_keyUse the IDs as keys to the array?
Returns
array Array of XoopsConfigCategorys

Definition at line 203 of file configcategory.php.

References $criteria, $limit, $result, $ret, $sql, and $start.

XoopsConfigCategoryHandler::insert ( $confcat)

Store a XoopsConfigCategory

Parameters
object&$confcatXoopsConfigCategory
Returns
bool TRUE on success

: Change to if (!(class_exists($this->className) && $obj instanceof $this->className)) when going fully PHP5

Definition at line 139 of file configcategory.php.

References $confcat_id, $result, and $sql.


The documentation for this class was generated from the following file: