/** * @static * @param int $cachehost * @param int $cacheport * @param string $cacheType * @param string $cacheSys * @return db_Cache */ public static function instance($cachehost = 0, $cacheport = 0, $cacheType = 'memcached', $cacheSys = '') { if (self::$self == NULL) { self::$self = new db_Cache($cacheSys, $cacheType, $cachehost, $cacheport); } return self::$self; }