| 1 | <?php |
||
| 9 | class Mysql |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * The database manager service. |
||
| 13 | * |
||
| 14 | * @var Bridge |
||
| 15 | */ |
||
| 16 | private static $bridge; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * Forward static calls to the manager singleton. |
||
| 20 | * |
||
| 21 | * @param $method |
||
| 22 | * @param $args |
||
| 23 | * |
||
| 24 | * @return mixed |
||
| 25 | */ |
||
| 26 | public static function __callStatic($method, $args) |
||
| 35 | |||
| 36 | /** |
||
| 37 | * Defines the old global functions and constants. |
||
| 38 | * |
||
| 39 | * @return void |
||
| 40 | */ |
||
| 41 | public static function defineGlobals() |
||
| 45 | } |
||
| 46 |