summaryrefslogtreecommitdiff
path: root/include/classbase.h
AgeCommit message (Collapse)Author
2015-03-26Changed default visibility for symbols in the PHP-CPP library to hidden and ↵Martijn Otto
explicitly exported all symbols available from the public API. Moved the hiddenpointer to the zend implementation directory as it is not meant to be used publicly and not referenced anywhere from the API anyway
2015-02-21initial implementation of the Php::dl() functionEmiel Bruijntjes
2015-01-26Added macro wrapper for noexceptRoland Eischer
- Added macro wrapper for noexcept to support MSVC compiler.
2015-01-25Php::Constant objects can now also be added to a Php::Class to create class ↵Emiel Bruijntjes
constants
2014-11-26Marked `noexcept` all move constructors and assigment operatorsvalmat
See: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2010/n3050.html
2014-06-11when an object was created using Php::Object("MyClass", new MyClass()), the ↵Emiel Bruijntjes
object handlers were not installed, which caused the magic methods not to be functional (issue #94)
2014-04-02it now is possible to register a class as base class (although not yet ↵Emiel Bruijntjes
working) (request from issue #52)
2014-04-02added Class::implements() method to allow classes that implement interfaces ↵Emiel Bruijntjes
(request from issue #52)
2014-04-02refactored the class and classbase classes, and introduced a classimpl class ↵Emiel Bruijntjes
in the src directory, this is a first step to remove all zend-specific code from the header files, so that we can later have a hhvm backend for the php-cpp library
2014-04-01much simpler implementation of hash member, i do not understand why i first ↵Emiel Bruijntjes
used this complicated zval wrapping implementation, fixes problems reported in issue #56
2014-03-29all methods to register functions, methods, properties and classes not ↵Emiel Bruijntjes
return *this, to allow chaining these methods. This was suggested by valmat in issue #55
2014-03-24fix compile issues for TRSMEmiel Bruijntjes
2014-03-24added tsrm parameter to all methods to make it compile on tsrm platformsEmiel Bruijntjes
2014-03-15implemented __clone methodEmiel Bruijntjes
2014-03-14added extra property methods to allow both const and non-const setters and ↵Emiel Bruijntjes
getters, updated documentation
2014-03-14implementation of properties using callback methodsEmiel Bruijntjes
2014-03-14removed return value for __destruct() method, improved documentationEmiel Bruijntjes
2014-03-14implemented __destruct magic methodEmiel Bruijntjes
2014-03-13__clone() method is now called directly after a clone operation (and when no ↵Emiel Bruijntjes
custom __clone is registered)
2014-03-13classes without a copy constructor can now also be used from PHP, and they ↵Emiel Bruijntjes
automatically become unclonable
2014-03-13removed interfaces, removed abstract class and remove final classEmiel Bruijntjes
2014-03-13magic methods no longer are virtual, so that more signatures are acceptable. ↵Emiel Bruijntjes
added support for __callStatic()
2014-03-13finalized implementation of serialize/unserialize methodsEmiel Bruijntjes
2014-03-13added serializable class (but not yet implemented it)Emiel Bruijntjes
2014-03-12support for static methodsEmiel Bruijntjes
2014-03-12implemented magic __compare() methodEmiel Bruijntjes
2014-03-11implemented __toString, __toInteger, __toFloat and __toBool methodsEmiel Bruijntjes
2014-03-11implemented __invoke methodEmiel Bruijntjes
2014-03-11implemented __call() functionEmiel Bruijntjes
2014-03-10fixed to compile with php 5.5Emiel Bruijntjes
2014-03-10first setup for magic methods __get(), __set(), __isset() and __unset()Emiel Bruijntjes
2014-03-09work in progress on iteratorsEmiel Bruijntjes
2014-03-09added arrayaccess implementationEmiel Bruijntjes
2014-03-08exception is now thrown when a function is called that does not existEmiel Bruijntjes
2014-03-08various fixes to make the function call example compilableEmiel Bruijntjes
2014-03-08implemented the Countable spl without using the actual splEmiel Bruijntjes
2014-03-07removed tabs from makefile, work in progress on implementing SPL interfacesEmiel Bruijntjes
2014-03-06changes to documentation, added support for const methods so that they can ↵Emiel Bruijntjes
also be exported
2014-03-04fixed some examplesEmiel Bruijntjes
2014-03-04fixed compile issue, overwriting the default object handlers is of course ↵Emiel Bruijntjes
not a very smart thing to do...
2014-03-04Php::Value and Php::Object classes can now be used to wrap around Php::Base ↵Emiel Bruijntjes
objects
2014-03-04implemented cloning of objectsEmiel Bruijntjes
2014-03-02work in progress to support implementing SPL interfaces, disabled the _self ↵Emiel Bruijntjes
variable in Php::Base because by having each object keeping a reference to itself, the refcounter never reached zero and the object was thus never destructed, checking if we can get a new implementation one way or another
2014-03-02added copy and move constructors to some classesEmiel Bruijntjes
2014-03-02fixed settings Base::_self variable to a valid, editable value objectEmiel Bruijntjes
2014-03-02working implementation for Base::value()Emiel Bruijntjes
2014-03-02types are not a C++11 class, introduced FixedValue class that can not change ↵Emiel Bruijntjes
type, and implemented both Object and Array to make use of that type, implemented - but not yet tested - Base::value() method
2014-03-01grouped all class constants in a single file ClassType.hEmiel Bruijntjes
to make it easier to edit in the event of future changes to the Zend API
2014-03-01added possibility to define interfaces, the class::add() method has been ↵Emiel Bruijntjes
renamed to class::method() and class::property() to prevent ambiguity in defining properties and methods
2014-03-01namespace implementation, compile issue for php 5.4 and higherEmiel Bruijntjes