diff options
| author | Andreas Fischer <bantu@phpbb.com> | 2013-03-05 02:26:46 +0100 |
|---|---|---|
| committer | Andreas Fischer <bantu@phpbb.com> | 2013-03-05 22:59:57 +0100 |
| commit | a73b76cb24bcbde96735d343d2a22e6723de8390 (patch) | |
| tree | 6371db28660e7e64c8475425be0edf16f0f0af72 /phpBB/includes | |
| parent | 3a5d3bdd686e93539d51d8f1a78a5489192f73ef (diff) | |
| download | forums-a73b76cb24bcbde96735d343d2a22e6723de8390.tar forums-a73b76cb24bcbde96735d343d2a22e6723de8390.tar.gz forums-a73b76cb24bcbde96735d343d2a22e6723de8390.tar.bz2 forums-a73b76cb24bcbde96735d343d2a22e6723de8390.tar.xz forums-a73b76cb24bcbde96735d343d2a22e6723de8390.zip | |
[ticket/10202] Adjust method names to guidelines.
PHPBB3-10202
Diffstat (limited to 'phpBB/includes')
| -rw-r--r-- | phpBB/includes/config/db_text.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/phpBB/includes/config/db_text.php b/phpBB/includes/config/db_text.php index 79f83391f8..05ba4ddabf 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->setAll(array($key => $value)); + $this->set_all(array($key => $value)); } /** @@ -69,7 +69,7 @@ class phpbb_config_db_text */ public function get($key) { - $map = $this->getAll(array($key)); + $map = $this->get_all(array($key)); return isset($map[$key]) ? $map[$key] : null; } @@ -83,7 +83,7 @@ class phpbb_config_db_text */ public function delete($key) { - $this->deleteAll(array($key)); + $this->delete_all(array($key)); } /** @@ -93,7 +93,7 @@ class phpbb_config_db_text * * @return null */ - public function setAll(array $map) + public function set_all(array $map) { $this->db->sql_transaction('begin'); @@ -124,7 +124,7 @@ class phpbb_config_db_text * * @return array Map from configuration names to values */ - public function getAll(array $keys) + public function get_all(array $keys) { $sql = 'SELECT * FROM ' . $this->table . ' @@ -147,7 +147,7 @@ class phpbb_config_db_text * * @return null */ - public function deleteAll(array $keys) + public function delete_all(array $keys) { $sql = 'DELETE FROM ' . $this->table . ' |
