public static function getWrapper($link) { if (empty(self::$wrapper)) { self::$wrapper = new DAOWrapper($link); } return self::$wrapper; }