1 | <?php |
||
9 | class Mysql |
||
10 | { |
||
11 | /** |
||
12 | * The database manager service. |
||
13 | * |
||
14 | * @var Manager |
||
15 | */ |
||
16 | private static $manager; |
||
17 | |||
18 | /** |
||
19 | * The bridge service. |
||
20 | * |
||
21 | * @var Bridge |
||
22 | */ |
||
23 | private static $bridge; |
||
24 | |||
25 | /** |
||
26 | * Forward static calls to the bridge singleton. |
||
27 | * |
||
28 | * @param $method |
||
29 | * @param $args |
||
30 | * |
||
31 | * @return mixed |
||
32 | */ |
||
33 | public static function __callStatic($method, $args) |
||
42 | |||
43 | /** |
||
44 | * Get the database manager. |
||
45 | * |
||
46 | * @return Manager |
||
47 | */ |
||
48 | public static function getManager() |
||
56 | |||
57 | /** |
||
58 | * Defines the old global functions and constants. |
||
59 | * |
||
60 | * @return void |
||
61 | */ |
||
62 | public static function defineGlobals() |
||
66 | } |
||
67 |