public static function getConnection() { if (!isset(self::$connection)) { self::$connection = new DAO(); } return self::$connection; }
private function setConnection($connection) { DAO::$connection = $connection; }
public static function getConnection() { if (!isset(self::$connection)) { self::$connection = new DAO(); } return self::$connection; }
private function setConnection($connection) { DAO::$connection = $connection; }