public static function getInstance() { if (self::$instance === null) { self::$instance=new setting(); } return self::instance; }