API - XOOPS 2.5.11 Beta 2
By monxoops.fr
XoopsConfigCategoryHandler Class Reference
Inheritance diagram for XoopsConfigCategoryHandler:
Collaboration diagram for XoopsConfigCategoryHandler:

Public Member Functions

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

Additional Inherited Members

- Data Fields inherited from XoopsObjectHandler
 $db
 

Member Function Documentation

◆ create()

create (   $isNew = true)

Create a new category

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

◆ delete()

delete ( XoopsObject  $confcat)

Delete a XoopsConfigCategory

Parameters
XoopsObject | XoopsConfigCategory$confcata XoopsConfigCategory object
Returns
bool true on success, otherwise false

Reimplemented from XoopsObjectHandler.

◆ get()

get (   $id)

Retrieve a XoopsConfigCategory

Parameters
int$idID
Returns
XoopsConfigCategory XoopsConfigCategory, FALSE on fail

Reimplemented from XoopsObjectHandler.

◆ getCatByModule()

getCatByModule (   $modid = 0)

#+

Deprecated:
Parameters
int$modid
Returns
bool

◆ getObjects()

getObjects ( CriteriaElement  $criteria = null,
  $id_as_key = false 
)

Get some XoopsConfigCategorys

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

◆ insert()

insert ( XoopsObject  $confcat)

Store a XoopsConfigCategory

Parameters
XoopsObject | XoopsConfigCategory$confcata XoopsConfigCategory object
Returns
bool true on success, otherwise false

Reimplemented from XoopsObjectHandler.

Here is the call graph for this function:

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