static function get_instance() { if (!isset(self::$_instance)) { $klass = get_class(); self::$_instance = new $klass(); } return self::$_instance; }