ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
class.arConnectorPdoDB.php
Go to the documentation of this file.
1<?php
2require_once('class.arConnectorDB.php');
3require_once(dirname(__FILE__) . '/../Exception/class.arException.php');
4require_once(dirname(__FILE__) . '/DataBase/class.pdoDB.php');
5
14{
15 protected static $pbo_connect;
16 protected $pdo_connect;
17
18
22 protected function returnDB()
23 {
24 if (!self::$pbo_connect) {
25 self::$pbo_connect = new pdoDB();
26 }
27
28 return self::$pbo_connect;
29 }
30
31
35 public static function getConnector()
36 {
37 return self::$pbo_connect;
38 }
39
40
46 public function updateIndices(ActiveRecord $ar)
47 {
48 return null;
49 }
50}
Class ActiveRecord.
An exception for terminatinating execution or to throw for unit testing.
Class arConnectorDB.
Class arConnectorDB.
updateIndices(ActiveRecord $ar)