diff options
author | nickw <nickw@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-12-07 20:45:01 +0000 |
---|---|---|
committer | nickw <nickw@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-12-07 20:45:01 +0000 |
commit | 2dbf5aad22164b73be4bbafdb0bb230947762e80 (patch) | |
tree | 4e0f12b43ee773d62a83690d2d9ee4da0778fb82 /engine/lib/sessions.php | |
parent | 4fd91f4926cb83addde6e44466e9aca61dec2870 (diff) | |
download | elgg-2dbf5aad22164b73be4bbafdb0bb230947762e80.tar.gz elgg-2dbf5aad22164b73be4bbafdb0bb230947762e80.tar.bz2 |
Adding alias ElggSession methods
git-svn-id: http://code.elgg.org/elgg/trunk@3739 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/sessions.php')
-rw-r--r-- | engine/lib/sessions.php | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/engine/lib/sessions.php b/engine/lib/sessions.php index 5edf374b0..f6758425a 100644 --- a/engine/lib/sessions.php +++ b/engine/lib/sessions.php @@ -92,6 +92,20 @@ class ElggSession implements ArrayAccess { return true; } } + + + // Alias functions + function get($key) { + return $this->offsetGet($key); + } + + function set($key, $value) { + return $this->offsetSet($key, $value); + } + + function del($key) { + return $this->offsetUnset($key); + } } |