aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2012-10-31 18:14:24 -0400
committerAndreas Fischer <bantu@phpbb.com>2012-10-31 18:14:52 -0400
commit969369254f8860c7ab4cc5a1185f1e8ebf043b63 (patch)
tree5b57e5719eebaac513e552e067960a4365915f02 /phpBB/includes
parent4e83cd461ce2adb008889593abf352745d9adff6 (diff)
downloadforums-969369254f8860c7ab4cc5a1185f1e8ebf043b63.tar
forums-969369254f8860c7ab4cc5a1185f1e8ebf043b63.tar.gz
forums-969369254f8860c7ab4cc5a1185f1e8ebf043b63.tar.bz2
forums-969369254f8860c7ab4cc5a1185f1e8ebf043b63.tar.xz
forums-969369254f8860c7ab4cc5a1185f1e8ebf043b63.zip
[ticket/10875] Add comment about cache's sql_load() method.
PHPBB3-10875
Diffstat (limited to 'phpBB/includes')
-rw-r--r--phpBB/includes/cache/driver/interface.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/phpBB/includes/cache/driver/interface.php b/phpBB/includes/cache/driver/interface.php
index 847ba97262..669eb75f63 100644
--- a/phpBB/includes/cache/driver/interface.php
+++ b/phpBB/includes/cache/driver/interface.php
@@ -69,6 +69,12 @@ interface phpbb_cache_driver_interface
/**
* Load cached sql query
+ *
+ * @param string $query SQL query
+ *
+ * @return int|bool Query ID (integer) if cache contains a rowset
+ * for the specified query.
+ * False otherwise.
*/
public function sql_load($query);