/** * singleton * @return type */ public static function instance() { if (!self::$_instance instanceof hacklogdm) { self::$_instance = new hacklogdm(); } return self::$_instance; }