aboutsummaryrefslogtreecommitdiffstats
path: root/tests/config/config_test.php
Commit message (Collapse)AuthorAgeFilesLines
* [ticket/12594] Remove @package tags and update file headersYuriy Rusko2014-05-271-3/+7
| | | | PHPBB3-12594
* [ticket/11700] Move all recent code to namespacesNils Adermann2013-09-161-14/+14
| | | | PHPBB3-11700
* [ticket/9916] Updating license in non-distributed filesUnknown2012-01-021-1/+1
| | | | PHPBB3-9916
* [ticket/10006] Tweak the tests a bitErik Frèrejean2011-04-181-1/+0
| | | | PHPBB3-10006
* [ticket/10006] Add phpbb_config::deleteErik Frèrejean2011-04-181-0/+9
| | | | | | Add the missing `phpbb_config::delete` method to the config class PHPBB3-10006
* [task/config-class] Implemented a config class to replace the global array.Nils Adermann2011-01-101-0/+112
There is a phpbb_config class which simply holds an array and does not persist any data. It implements ArrayAccess, Countable and IteratorAggregate to allow regular use of configuration as if it was still an array. The phpbb_config_db class depends on an instance of the dbal and a cache driver. It obtains the configuration data from cache and database as necessary and persists data to the database. The functions set_config and set_config_count remain for backward compatability but they only call methods on the new config class now instead of directly manipulating the database and cache. PHPBB3-9988