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

Class: XoopsObjectHandler

Source Location: /kernel/object.php

Class Overview


XOOPS object handler class.


Author(s):

Copyright:

  • copyright © 2000 The XOOPS Project

Variables

Methods


Child classes:

CDMBaseHandler
Object handler for CDM objects

Class Details

[line 592]
XOOPS object handler class.

This class is an abstract class of handler classes that are responsible for providing data access mechanisms to the data source of its corresponsing data objects




Tags:

copyright:  copyright © 2000 The XOOPS Project
author:  Kazumi Ono <onokazu@xoops.org>


[ Top ]


Class Variables

$db =

[line 602]

holds referenced to XoopsDatabase class object



Tags:

access:  protected
see:  XoopsDatabase

Type:   object


[ Top ]



Class Methods


constructor XoopsObjectHandler [line 611]

XoopsObjectHandler XoopsObjectHandler( object &$db)

called from child classes only



Tags:

access:  protected


Parameters:

object   $db   reference to the XoopsDatabase object

[ Top ]

method create [line 621]

void &create( )

creates a new object



Tags:

abstract:  


Overridden in child classes as:

CDMBaseHandler::create()
Create a new object

[ Top ]

method delete [line 651]

void delete( object &$object)

delete obejct from database



Tags:

abstract:  


Overridden in child classes as:

CDMBaseHandler::delete()
Delete object from the database

Parameters:

object   $object  

[ Top ]

method get [line 631]

void &get( int $int_id)

gets a value object



Tags:

abstract:  


Overridden in child classes as:

CDMBaseHandler::get()
Get safe data from database.
Xbs_CdmCDMSetHandler::get()
Safe data get

Parameters:

int   $int_id  

[ Top ]

method insert [line 641]

void insert( object &$object)

insert/update object



Tags:

abstract:  


Overridden in child classes as:

CDMBaseHandler::insert()
Write an object back to the database
Xbs_CdmCDMMetaHandler::insert()
Insert or update a meta set object
Xbs_CdmCDMCodeHandler::insert()
Insert or update a code object
Xbs_CdmCDMSetHandler::insert()
Function insert - Does nothing. Use getCode and getMeta to instantiate CDM objects and then insert (save) them individually

Parameters:

object   $object  

[ Top ]


Documentation generated on Fri, 03 Mar 2006 08:56:06 +0000 by phpDocumentor 1.3.0RC3