public function get_instance($sp = null) { if (!isset(self::$instance)) { self::$instance = new ItemCache($sp); } return self::$instance; }