XoopsConfigItemHandler Class Reference

List of all members.

Public Member Functions

create ($isNew=true)
get ($id)
 insert (&$config)
 delete (&$config)
getObjects ($criteria=null, $id_as_key=false)
 getCount ($criteria=null)

Detailed Description

XOOPS configuration handler class.

This class is responsible for providing data access mechanisms to the data source of XOOPS configuration class objects.

Author:
Kazumi Ono <onokazu@xoops.org> copyright (c) 2000-2003 XOOPS.org


Member Function Documentation

& XoopsConfigItemHandler::create ( isNew = true  ) 

Create a new XoopsConfigItem

See also:
XoopsConfigItem
Parameters:
bool $isNew Flag the config as "new"?
Returns:
object reference to the new config

& XoopsConfigItemHandler::get ( id  ) 

Load a config from the database

Parameters:
int $id ID of the config
Returns:
object reference to the config, FALSE on fail

XoopsConfigItemHandler::insert ( &$  config  ) 

Write a config to the database

Parameters:
object &$config XoopsConfigItem object
Returns:
mixed FALSE on fail.

XoopsConfigItemHandler::delete ( &$  config  ) 

Delete a config from the database

Parameters:
object &$config Config to delete
Returns:
bool Successful?

& XoopsConfigItemHandler::getObjects ( criteria = null,
id_as_key = false 
)

Get configs from the database

Parameters:
object $criteria CriteriaElement
bool $id_as_key return the config's id as key?
Returns:
array Array of XoopsConfigItem objects

XoopsConfigItemHandler::getCount ( criteria = null  ) 

Count configs

Parameters:
object $criteria CriteriaElement
Returns:
int Count of configs matching $criteria


The documentation for this class was generated from the following file:
Generated on Thu Nov 2 00:27:25 2006 for XOOPS Cube Legacy by  doxygen 1.5.1