ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
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.
Class arConnectorDB.
Class arConnectorDB.
updateIndices(ActiveRecord $ar)