|
Property proxy API
A facility to manage extension object properties tied to C-struct members
|

Macros | |
| #define | DEBUG_PROPRO 0 |
| #define | debug_propro(l, f, obj, off, val) |
Functions | |
| php_property_proxy_t * | php_property_proxy_init (zval *container, zend_string *member) |
| Create a property proxy. More... | |
| void | php_property_proxy_free (php_property_proxy_t **proxy) |
| Destroy and free a property proxy. More... | |
| zend_class_entry * | php_property_proxy_get_class_entry (void) |
| Get the zend_class_entry of php\PropertyProxy. More... | |
| php_property_proxy_object_t * | php_property_proxy_object_new_ex (zend_class_entry *ce, php_property_proxy_t *proxy) |
| Instantiate a new php\PropertyProxy with proxy. More... | |
| zend_object * | php_property_proxy_object_new (zend_class_entry *ce) |
| Instantiate a new php\PropertyProxy. More... | |
| ZEND_END_ARG_INFO () | |
| PHP_MINFO_FUNCTION (propro) | |
Variables | |
| zend_module_entry | propro_module_entry |
| #define DEBUG_PROPRO 0 |
| #define debug_propro | ( | l, | |
| f, | |||
| obj, | |||
| off, | |||
| val | |||
| ) |
Referenced by php_property_proxy_object_new_ex().
| PHP_MINFO_FUNCTION | ( | propro | ) |
| void php_property_proxy_free | ( | php_property_proxy_t ** | proxy | ) |
Destroy and free a property proxy.
The destruction of the property proxy object calls this.
| proxy | a pointer to the allocated property proxy |
| zend_class_entry* php_property_proxy_get_class_entry | ( | void | ) |
Get the zend_class_entry of php\PropertyProxy.
| php_property_proxy_t* php_property_proxy_init | ( | zval * | container, |
| zend_string * | member | ||
| ) |
Create a property proxy.
The property proxy will forward reads and writes to itself to the proxied property with name member_str of container.
| container | the container holding the property |
| member | the name of the proxied property |
| zend_object* php_property_proxy_object_new | ( | zend_class_entry * | ce | ) |
Instantiate a new php\PropertyProxy.
| ce | the property proxy or derived class entry |

| php_property_proxy_object_t* php_property_proxy_object_new_ex | ( | zend_class_entry * | ce, |
| php_property_proxy_t * | proxy | ||
| ) |
Instantiate a new php\PropertyProxy with proxy.
| ce | the property proxy or derived class entry |
| proxy | the internal property proxy |
Referenced by php_property_proxy_object_new().

| ZEND_END_ARG_INFO | ( | ) |
| zend_module_entry propro_module_entry |