diff options
author | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2014-03-09 12:51:02 +0100 |
---|---|---|
committer | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2014-03-09 12:51:02 +0100 |
commit | eb4962468ace477cdd72fd1da48ae304407e40d2 (patch) | |
tree | ab437ea4c9acdaf523e4c3a1ba6ace8b88bf3025 /include/arrayaccess.h | |
parent | 116770c10d2f8219be6d90207b56853bf5a356e1 (diff) |
added arrayaccess implementation
Diffstat (limited to 'include/arrayaccess.h')
-rw-r--r-- | include/arrayaccess.h | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/include/arrayaccess.h b/include/arrayaccess.h index 6ee3163..cf8c261 100644 --- a/include/arrayaccess.h +++ b/include/arrayaccess.h @@ -47,44 +47,6 @@ public: * @param key */ virtual void offsetUnset(const Php::Value &key) = 0; - - /** - * Alternative offsetExists as it is initially called - * @param params - * @return bool - */ - virtual Php::Value offsetExists(Php::Parameters ¶ms) - { - return offsetExists(params[0]); - } - - /** - * Alternative set member function as it is initially called - * @param params - */ - virtual void offsetSet(const Php::Parameters ¶ms) - { - offsetSet(params[0], params[1]); - } - - /** - * Alternative retrieve member function that is initially called - * @param params - * @return value - */ - virtual Php::Value offsetGet(Php::Parameters ¶ms) - { - return offsetGet(params[0]); - } - - /** - * Alternative function to remove a member that is initally called - * @param params - */ - virtual void offsetUnset(Php::Parameters ¶ms) - { - return offsetUnset(params[0]); - } }; /** |