public static function getInstance() { if (!isset(self::$ins)) { self::$ins = new self(); } return self::$ins; }