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

Public Member Functions

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

Data Fields

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

Constructor & Destructor Documentation

◆ __construct()

__construct ( XoopsMySQLDatabase  $db,
  $table = '',
  $className = '',
  $keyName = '',
  $identifierName = '' 
)

Constructor

Parameters
XoopsMySQLDatabase$dbreference to the XoopsDatabase object
string$table
string$className
string$keyName
string$identifierName

Member Function Documentation

◆ insert()

insert ( XoopsObject  $object,
  $force = true 
)
Parameters
XoopsObject | ArtObject$object
bool$force
Returns
mixed

Reimplemented from XoopsPersistableObjectHandler.

Here is the call graph for this function:

◆ mysql_major_version()

mysql_major_version ( )

get MySQL major version

Returns
integer : 3 - 4.1-; 4 - 4.1+; 5 - 5.0+
Here is the call graph for this function:

◆ mysql_server_version()

mysql_server_version (   $conn = null)

get MySQL server version

Parameters
null | XoopsDatabase | mysqli$conn
Returns
string
Here is the caller graph for this function:

Field Documentation

◆ $db

$db

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