diff options
author | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2014-04-02 23:21:16 +0200 |
---|---|---|
committer | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2014-04-02 23:21:16 +0200 |
commit | 2e4318b5ecae22b6bc0f04dfc116ff3e4647b1e8 (patch) | |
tree | d93a7d146fb0555b45e70780ac69f6df6dedcc3a /src/classbase.cpp | |
parent | a3bd6dc04d5210ddeffdda5884f51c0e5b37ec27 (diff) |
it now is possible to register a class as base class (although not yet working) (request from issue #52)
Diffstat (limited to 'src/classbase.cpp')
-rw-r--r-- | src/classbase.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/classbase.cpp b/src/classbase.cpp index c753c34..18d81d5 100644 --- a/src/classbase.cpp +++ b/src/classbase.cpp @@ -118,6 +118,12 @@ void ClassBase::property(const char *name, const getter_callback_1 &getter, cons void ClassBase::implements(const ClassBase &interface) { _impl->implements(interface._impl); } /** + * Set the base class + * @param base Php::Class object that is the base + */ +void ClassBase::extends(const ClassBase &base) { _impl->extends(base._impl); } + +/** * End namespace */ } |