aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/cache/service.php
Commit message (Collapse)AuthorAgeFilesLines
* [feature/attachment-management-no-reassignment] Handle privacy and some more.rxu2011-04-241-0/+1
| | | | | | | | | - restrict files info for PM attachments; - add an option to resync files stats if wrong; - replace post_id sorting with post type (PM/regular post) one; - some language fixes. PHPBB3-9721
* [task/config-class] Do not create multiple cache driver instances.Nils Adermann2011-01-121-23/+42
| | | | | | | Retrieve the driver from the service instead of creating new ones over and over from the factory. PHPBB3-9988
* [task/config-class] Implemented a config class to replace the global array.Nils Adermann2011-01-101-45/+0
| | | | | | | | | | | | | | | 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
* [task/acm-refactor] Refactor the ACM classes to have a common interface.Igor Wiedler2011-01-091-0/+452
They are now refered to as cache drivers rather than ACM classes. The additional utility functions from the original cache class have been moved to the cache_service. The class loader is now instantiated without a cache instance and passed one as soon as it is constructed to allow autoloading the cache classes. PHPBB3-9983