private static function getInstance() { if (is_null(self::$instance)) { $c = __CLASS__; self::$instance = new $c(); } return self::$instance; }