ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
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 if (!self::$pbo_connect) {
24 self::$pbo_connect = new pdoDB();
25 }
26
27 return self::$pbo_connect;
28 }
29
30
34 public static function getConnector() {
35 return self::$pbo_connect;
36 }
37
38
44 public function updateIndices(ActiveRecord $ar) {
45 return NULL;
46 }
47}
Class ActiveRecord.
An exception for terminatinating execution or to throw for unit testing.
Class arConnectorDB.
Class arConnectorDB.
updateIndices(ActiveRecord $ar)