aboutsummaryrefslogtreecommitdiffstats
path: root/tests/config
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote-tracking branch 'upstream/develop-ascraeus' into ticket/12594Yuriy Rusko2014-05-271-2/+10
|\ | | | | | | | | Conflicts: phpBB/docs/hook_system.html
| * [ticket/12570] Add a test for set_array() and updating with the same valueJoas Schilling2014-05-261-0/+2
| | | | | | | | PHPBB3-12570
| * [ticket/12570] Add test for updating a config with the same valueJoas Schilling2014-05-261-2/+8
| | | | | | | | PHPBB3-12570
* | [ticket/12594] Remove @package tags and update file headersYuriy Rusko2014-05-273-9/+21
|/ | | | PHPBB3-12594
* [ticket/11700] Fix config db tests after namespace mishapNils Adermann2013-09-161-10/+10
| | | | PHPBB3-11700
* [ticket/11700] Move all recent code to namespacesNils Adermann2013-09-163-23/+23
| | | | PHPBB3-11700
* [ticket/10202] Rename method names _all() to _array().Andreas Fischer2013-03-051-11/+11
| | | | PHPBB3-10202
* [ticket/10202] Add tests for phpbb_config_db_text.Andreas Fischer2013-03-052-0/+134
| | | | PHPBB3-10202
* [ticket/10973] Drop all require_once for mocks. Use autoloading.Andreas Fischer2012-07-081-2/+0
| | | | PHPBB3-10973
* [ticket/9916] Updating license in non-distributed filesUnknown2012-01-022-2/+2
| | | | PHPBB3-9916
* [ticket/10143] Added tests for storing a previously deleted value in db cache.Oleg Pudeyev2011-04-211-0/+24
| | | | PHPBB3-10143
* [ticket/10006] More testingErik Frèrejean2011-04-181-2/+5
| | | | | | Change the DB test to test agains new cache/config mock objects PHPBB3-10006
* [ticket/10006] Tweak the tests a bitErik Frèrejean2011-04-182-2/+5
| | | | PHPBB3-10006
* [ticket/10006] Add phpbb_config::deleteErik Frèrejean2011-04-182-0/+16
| | | | | | Add the missing `phpbb_config::delete` method to the config class PHPBB3-10006
* [ticket/10011] Tests can't be ran on PHP < 5.3Erik Frèrejean2011-01-311-2/+2
| | | | | | Apply the `__DIR__` fix to some remaining Ascraeus tests PHPBB3-10011
* [task/config-class] Correctly merge cached config with dynamically loaded data.Nils Adermann2011-01-121-0/+11
| | | | PHPBB3-9988
* [task/config-class] Fix db config constructor param orderIgor Wiedler2011-01-111-6/+6
| | | | PHPBB3-9988
* [task/config-class] Implemented a config class to replace the global array.Nils Adermann2011-01-103-0/+247
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