aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2013-03-05 23:15:46 +0100
committerAndreas Fischer <bantu@phpbb.com>2013-03-05 23:15:46 +0100
commit32ff2348f10aed1aad3b78e7677dca34335b7adb (patch)
tree9498a2e83f4ecf5f4338b729dc936fd9e4eb958c /phpBB/includes
parent3a4b34ca3240c5f66faae8faa1c50baea1d6e108 (diff)
downloadforums-32ff2348f10aed1aad3b78e7677dca34335b7adb.tar
forums-32ff2348f10aed1aad3b78e7677dca34335b7adb.tar.gz
forums-32ff2348f10aed1aad3b78e7677dca34335b7adb.tar.bz2
forums-32ff2348f10aed1aad3b78e7677dca34335b7adb.tar.xz
forums-32ff2348f10aed1aad3b78e7677dca34335b7adb.zip
[ticket/10202] Rename method names _all() to _array().
PHPBB3-10202
Diffstat (limited to 'phpBB/includes')
-rw-r--r--phpBB/includes/config/db_text.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/phpBB/includes/config/db_text.php b/phpBB/includes/config/db_text.php
index 6449a2e02b..b365cb5c77 100644
--- a/phpBB/includes/config/db_text.php
+++ b/phpBB/includes/config/db_text.php
@@ -56,7 +56,7 @@ class phpbb_config_db_text
*/
public function set($key, $value)
{
- $this->set_all(array($key => $value));
+ $this->set_array(array($key => $value));
}
/**
@@ -69,7 +69,7 @@ class phpbb_config_db_text
*/
public function get($key)
{
- $map = $this->get_all(array($key));
+ $map = $this->get_array(array($key));
return isset($map[$key]) ? $map[$key] : null;
}
@@ -83,7 +83,7 @@ class phpbb_config_db_text
*/
public function delete($key)
{
- $this->delete_all(array($key));
+ $this->delete_array(array($key));
}
/**
@@ -95,7 +95,7 @@ class phpbb_config_db_text
*
* @return null
*/
- public function set_all(array $map)
+ public function set_array(array $map)
{
$this->db->sql_transaction('begin');
@@ -129,7 +129,7 @@ class phpbb_config_db_text
*
* @return array Map from configuration names to values
*/
- public function get_all(array $keys)
+ public function get_array(array $keys)
{
$sql = 'SELECT *
FROM ' . $this->table . '
@@ -153,7 +153,7 @@ class phpbb_config_db_text
*
* @return null
*/
- public function delete_all(array $keys)
+ public function delete_array(array $keys)
{
$sql = 'DELETE
FROM ' . $this->table . '