ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
arConnectorPdoDB Class Reference

Class arConnectorDB. More...

+ Inheritance diagram for arConnectorPdoDB:
+ Collaboration diagram for arConnectorPdoDB:

Public Member Functions

 updateIndices (ActiveRecord $ar)
 
- Public Member Functions inherited from arConnectorDB
 checkConnection (ActiveRecord $ar)
 
 nextID (ActiveRecord $ar)
 
 installDatabase (ActiveRecord $ar, $fields)
 
 updateIndices (ActiveRecord $ar)
 
 updateDatabase (ActiveRecord $ar)
 
 resetDatabase (ActiveRecord $ar)
 
 truncateDatabase (ActiveRecord $ar)
 
 checkTableExists (ActiveRecord $ar)
 
 checkFieldExists (ActiveRecord $ar, $field_name)
 
 removeField (ActiveRecord $ar, $field_name)
 
 renameField (ActiveRecord $ar, $old_name, $new_name)
 
 create (ActiveRecord $ar)
 
 read (ActiveRecord $ar)
 
 update (ActiveRecord $ar)
 
 delete (ActiveRecord $ar)
 
 readSet (ActiveRecordList $arl)
 
 affectedRows (ActiveRecordList $arl)
 
 quote ($value, $type)
 
- Public Member Functions inherited from arConnector
 nextID (ActiveRecord $ar)
 
 checkConnection (ActiveRecord $ar)
 
 installDatabase (ActiveRecord $ar, $fields)
 
 updateDatabase (ActiveRecord $ar)
 
 resetDatabase (ActiveRecord $ar)
 
 truncateDatabase (ActiveRecord $ar)
 
 checkTableExists (ActiveRecord $ar)
 
 checkFieldExists (ActiveRecord $ar, $field_name)
 
 removeField (ActiveRecord $ar, $field_name)
 
 renameField (ActiveRecord $ar, $old_name, $new_name)
 
 create (ActiveRecord $ar)
 
 read (ActiveRecord $ar)
 
 update (ActiveRecord $ar)
 
 delete (ActiveRecord $ar)
 
 readSet (ActiveRecordList $arl)
 
 affectedRows (ActiveRecordList $arl)
 
 quote ($value, $type)
 
 updateIndices (ActiveRecord $ar)
 
 fixDate ($value)
 

Static Public Member Functions

static getConnector ()
 

Protected Member Functions

 returnDB ()
 
- Protected Member Functions inherited from arConnectorDB
 returnDB ()
 

Protected Attributes

 $pdo_connect
 

Static Protected Attributes

static $pbo_connect
 

Detailed Description

Member Function Documentation

◆ getConnector()

static arConnectorPdoDB::getConnector ( )
static
Returns
mixed

Definition at line 35 of file class.arConnectorPdoDB.php.

36  {
37  return self::$pbo_connect;
38  }

◆ returnDB()

arConnectorPdoDB::returnDB ( )
protected
Returns
ilDB

Definition at line 22 of file class.arConnectorPdoDB.php.

23  {
24  if (!self::$pbo_connect) {
25  self::$pbo_connect = new pdoDB();
26  }
27 
28  return self::$pbo_connect;
29  }

◆ updateIndices()

arConnectorPdoDB::updateIndices ( ActiveRecord  $ar)
Parameters
ActiveRecord$ar
Returns
null|void

Definition at line 46 of file class.arConnectorPdoDB.php.

47  {
48  return null;
49  }

Field Documentation

◆ $pbo_connect

arConnectorPdoDB::$pbo_connect
staticprotected

Definition at line 15 of file class.arConnectorPdoDB.php.

◆ $pdo_connect

arConnectorPdoDB::$pdo_connect
protected

Definition at line 16 of file class.arConnectorPdoDB.php.


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