aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/hooks
diff options
context:
space:
mode:
authorNils Adermann <naderman@naderman.de>2010-03-06 05:40:38 +0100
committerNils Adermann <naderman@naderman.de>2010-09-17 13:50:09 +0200
commitd7e52ee0f8fb876161ac9705f4347d6431657358 (patch)
tree3afa5910e0d30003b99a1d77418d4c2e00fded40 /phpBB/includes/hooks
parentcdadda35540d4909a00de01c1671251684e2801f (diff)
downloadforums-d7e52ee0f8fb876161ac9705f4347d6431657358.tar
forums-d7e52ee0f8fb876161ac9705f4347d6431657358.tar.gz
forums-d7e52ee0f8fb876161ac9705f4347d6431657358.tar.bz2
forums-d7e52ee0f8fb876161ac9705f4347d6431657358.tar.xz
forums-d7e52ee0f8fb876161ac9705f4347d6431657358.zip
[feature/request-class] Adding a request class based on ascraeus-experiment.
The well known request_var function is now a wrapper that calls a method on a phpbb_request object. The class provides additional functionality. It can replace all super globals with special objects that throw errors when being accessed. They still allow isset operations to keep backward compatibility with isset($_POST['var']) checks. The phpbb_request class implements the phpbb_request_interface which is available for easy mocking of input in tests. PHPBB3-9716
Diffstat (limited to 'phpBB/includes/hooks')
0 files changed, 0 insertions, 0 deletions