aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/cache/service.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/cache/service.php')
-rw-r--r--phpBB/includes/cache/service.php40
1 files changed, 40 insertions, 0 deletions
diff --git a/phpBB/includes/cache/service.php b/phpBB/includes/cache/service.php
index e63ec6e33a..7858e27a5c 100644
--- a/phpBB/includes/cache/service.php
+++ b/phpBB/includes/cache/service.php
@@ -58,6 +58,11 @@ class phpbb_cache_service
return call_user_func_array(array($this->driver, $method), $arguments);
}
+ public function __get($var)
+ {
+ return $this->driver->$var;
+ }
+
/**
* Obtain list of naughty words and build preg style replacement arrays for use by the
* calling script
@@ -408,4 +413,39 @@ class phpbb_cache_service
return $hook_files;
}
+
+ public function sql_load()
+ {
+ return call_user_func_array(array($this->driver, __FUNCTION__), func_get_args());
+ }
+
+ public function sql_save($query, &$query_result, $ttl)
+ {
+ return call_user_func_array(array($this->driver, __FUNCTION__), array($query, &$query_result, $ttl));
+ }
+
+ public function sql_exists()
+ {
+ return call_user_func_array(array($this->driver, __FUNCTION__), func_get_args());
+ }
+
+ public function sql_fetchrow()
+ {
+ return call_user_func_array(array($this->driver, __FUNCTION__), func_get_args());
+ }
+
+ public function sql_fetchfield()
+ {
+ return call_user_func_array(array($this->driver, __FUNCTION__), func_get_args());
+ }
+
+ public function sql_rowseek()
+ {
+ return call_user_func_array(array($this->driver, __FUNCTION__), func_get_args());
+ }
+
+ public function sql_freeresult()
+ {
+ return call_user_func_array(array($this->driver, __FUNCTION__), func_get_args());
+ }
}