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