summaryrefslogtreecommitdiff
path: root/include/classbase.h
diff options
context:
space:
mode:
authorEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2014-03-01 10:32:26 +0100
committerEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2014-03-01 10:32:26 +0100
commitc8d1519f31baed0fb399dac9333e48e2f9e910ad (patch)
tree1e2192f0b91d55512d26f4a14c8eae6b5a1f6ece /include/classbase.h
parent73945a9cb2b096a5379d17c028bda102b87aedce (diff)
namespace implementation, compile issue for php 5.4 and higher
Diffstat (limited to 'include/classbase.h')
-rw-r--r--include/classbase.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/include/classbase.h b/include/classbase.h
index 9726e5a..98a430e 100644
--- a/include/classbase.h
+++ b/include/classbase.h
@@ -88,8 +88,10 @@ public:
* this means that this method is called after the module is already available.
* This function will inform the Zend engine about the existence of the
* class.
+ *
+ * @param ns Namespace name
*/
- void initialize();
+ void initialize(const std::string &ns);
protected:
/**
@@ -173,15 +175,15 @@ private:
/**
* All class methods
- * @var set
+ * @var std::list
*/
- std::set<std::shared_ptr<Method>> _methods;
+ std::list<std::shared_ptr<Method>> _methods;
/**
* All class members (class properties)
- * @var set
+ * @var std::list
*/
- std::set<std::shared_ptr<Member>> _members;
+ std::list<std::shared_ptr<Member>> _members;
};
/**