summaryrefslogtreecommitdiff
path: root/include/arrayaccess.h
diff options
context:
space:
mode:
authorEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2014-03-09 12:51:02 +0100
committerEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2014-03-09 12:51:02 +0100
commiteb4962468ace477cdd72fd1da48ae304407e40d2 (patch)
treeab437ea4c9acdaf523e4c3a1ba6ace8b88bf3025 /include/arrayaccess.h
parent116770c10d2f8219be6d90207b56853bf5a356e1 (diff)
added arrayaccess implementation
Diffstat (limited to 'include/arrayaccess.h')
-rw-r--r--include/arrayaccess.h38
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 &params)
- {
- return offsetExists(params[0]);
- }
-
- /**
- * Alternative set member function as it is initially called
- * @param params
- */
- virtual void offsetSet(const Php::Parameters &params)
- {
- offsetSet(params[0], params[1]);
- }
-
- /**
- * Alternative retrieve member function that is initially called
- * @param params
- * @return value
- */
- virtual Php::Value offsetGet(Php::Parameters &params)
- {
- return offsetGet(params[0]);
- }
-
- /**
- * Alternative function to remove a member that is initally called
- * @param params
- */
- virtual void offsetUnset(Php::Parameters &params)
- {
- return offsetUnset(params[0]);
- }
};
/**