INIT_OVERLOADED_CLASS_ENTRY()
Submitted by Katrina Niolet on Thu, 06/21/2007 - 03:54.
Convienience macro for setting the properties of a fairly simple class entry
INIT_OVERLOADED_CLASS_ENTRY(class_container, class_name, functions, handle_fcall, handle_propget, handle_propset)
| type | parameter | description |
|---|---|---|
| zend_class_entry | class_container | The container in which to store this class type |
| char* | class_name | The name of the class as seen in userspace |
| zend_function_entry[] | functions | Array of methods |
| handle_fcall | ||
| handle_propget | ||
| handle_propset |
You should use this macro to set class entry properties when you do not need to specify methods for equivalents to __isset() or __unset().
This is an alias for INIT_OVERLOADED_CLASS_ENTRY_EX(class_container, class_name, functions, handle_fcall, handle_propget, handle_propset, NULL, NULL)
