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

Public Member Functions

 __construct (&$db, $table, $className, $keyName, $identifierName)
 
 ArtObjectHandler (&$db, $table="", $className="", $keyName="", $identifierName=false)
 
 insert (&$object, $force=true)
 
 mysql_major_version ()
 
 mysql_server_version ($conn=null)
 
- Public Member Functions inherited from XoopsPersistableObjectHandler
 __construct ($db=null, $table= '', $className= '', $keyName= '', $identifierName= '')
 
 __call ($name, $args)
 
 cleanOrphan ($table_link= '', $field_link= '', $field_object= '')
 
 convertResultSet ($result, $id_as_key=false, $as_object=true)
 
create ($isNew=true)
 
 delete (&$object, $force=false)
 
 deleteAll ($criteria=null, $force=true, $asObject=false)
 
 deleteByLink ($criteria=null)
 
get ($id=null, $fields=null)
 
getAll ($criteria=null, $fields=null, $asObject=true, $id_as_key=true)
 
getByLimit ($limit=0, $start=0, $criteria=null, $fields=null, $asObject=true)
 
getByLink ($criteria=null, $fields=null, $asObject=true, $field_link=null, $field_object=null)
 
 getCount ($criteria=null)
 
 getCountByLink ($criteria=null)
 
 getCounts ($criteria=null)
 
 getCountsByLink ($criteria=null)
 
getIds ($criteria=null)
 
 getList ($criteria=null, $limit=0, $start=0)
 
getObjects ($criteria=null, $id_as_key=false, $as_object=true)
 
 insert (&$object, $force=true)
 
 loadHandler ($name, $args=null)
 
 setHandler ($handler=null, $args=null, $path=null)
 
 synchronization ()
 
 updateAll ($fieldname, $fieldvalue, $criteria=null, $force=false)
 
 updateByLink ($data, $criteria=null)
 
 XoopsPersistableObjectHandler ($db=null, $table= '', $className= '', $keyName= '', $identifierName= '')
 
- Public Member Functions inherited from XoopsObjectHandler
create ()
 
 delete (&$object)
 
get ($int_id)
 
 insert (&$object)
 
 XoopsObjectHandler (&$db)
 

Public Attributes

 $db
 
- Public Attributes inherited from XoopsPersistableObjectHandler
 $className
 
 $handler
 
 $handlers = array('read' => null , 'stats' => null , 'joint' => null , 'write' => null , 'sync' => null)
 
 $identifierName
 
 $keyName
 
 $table
 
- Public Attributes inherited from XoopsObjectHandler
 $db
 

Detailed Description

Definition at line 57 of file object.php.

Constructor & Destructor Documentation

ArtObjectHandler::__construct ( $db,
  $table,
  $className,
  $keyName,
  $identifierName 
)

Constructor

Parameters
object$dbreference to the XoopsDatabase object

Definition at line 68 of file object.php.

References XoopsPersistableObjectHandler\$className, $db, XoopsPersistableObjectHandler\$identifierName, XoopsPersistableObjectHandler\$keyName, and XoopsPersistableObjectHandler\$table.

Referenced by ArtObjectHandler().

Here is the caller graph for this function:

Member Function Documentation

ArtObjectHandler::ArtObjectHandler ( $db,
  $table = "",
  $className = "",
  $keyName = "",
  $identifierName = false 
)
ArtObjectHandler::insert ( $object,
  $force = true 
)

Definition at line 107 of file object.php.

References $ret.

ArtObjectHandler::mysql_major_version ( )

get MySQL major version

Returns
integer : 3 - 4.1-; 4 - 4.1+; 5 - 5.0+

Definition at line 98 of file object.php.

References mysql_server_version().

Here is the call graph for this function:

ArtObjectHandler::mysql_server_version (   $conn = null)

get MySQL server version

Returns
string

Definition at line 84 of file object.php.

Referenced by mysql_major_version().

Here is the caller graph for this function:

Member Data Documentation

ArtObjectHandler::$db

Definition at line 60 of file object.php.

Referenced by __construct(), and ArtObjectHandler().


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