13 #ifndef PHP_PROPRO_API_H
14 #define PHP_PROPRO_API_H
102 const char *member_str,
size_t member_len TSRMLS_DC);
125 zend_class_entry *ce TSRMLS_DC);
php_property_proxy_t * php_property_proxy_init(zval *container, const char *member_str, size_t member_len)
Create a property proxy.
Definition: php_propro_api.c:40
zend_object_value php_property_proxy_object_new_ex(zend_class_entry *ce, php_property_proxy_t *proxy, php_property_proxy_object_t **ptr)
Instantiate a new php\PropertyProxy with proxy.
Definition: php_propro_api.c:96
zend_class_entry * php_property_proxy_get_class_entry(void)
Get the zend_class_entry of php\PropertyProxy.
Definition: php_propro_api.c:66
zval * container
The container holding the property.
Definition: php_propro_api.h:25
void php_property_proxy_free(php_property_proxy_t **proxy)
Destroy and free a property proxy.
Definition: php_propro_api.c:53
The internal property proxy.
Definition: php_propro_api.h:23
zend_object_value zv
The object value for easy zval creation.
Definition: php_propro_api.h:82
char * member_str
The name of the proxied property.
Definition: php_propro_api.h:27
size_t member_len
The length of the name.
Definition: php_propro_api.h:29
php_property_proxy_t * proxy
The actual property proxy.
Definition: php_propro_api.h:84
zend_object_value php_property_proxy_object_new(zend_class_entry *ce)
Instantiate a new php\PropertyProxy.
Definition: php_propro_api.c:71
The userland object.
Definition: php_propro_api.h:78
zend_object zo
The std zend_object.
Definition: php_propro_api.h:80
#define PHP_PROPRO_API
Definition: php_propro.h:26
struct php_property_proxy_object * parent
A reference to any parent property proxy object.
Definition: php_propro_api.h:86