Back to index

php5  5.3.10
Defines | Functions | Variables
php_reflection.h File Reference
#include "php.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define phpext_reflection_ptr   &reflection_module_entry

Functions

PHPAPI void zend_reflection_class_factory (zend_class_entry *ce, zval *object TSRMLS_DC)

Variables

zend_module_entry reflection_module_entry
PHPAPI zend_class_entry * reflector_ptr
PHPAPI zend_class_entry * reflection_exception_ptr
PHPAPI zend_class_entry * reflection_ptr
PHPAPI zend_class_entry * reflection_function_abstract_ptr
PHPAPI zend_class_entry * reflection_function_ptr
PHPAPI zend_class_entry * reflection_parameter_ptr
PHPAPI zend_class_entry * reflection_class_ptr
PHPAPI zend_class_entry * reflection_object_ptr
PHPAPI zend_class_entry * reflection_method_ptr
PHPAPI zend_class_entry * reflection_property_ptr
PHPAPI zend_class_entry * reflection_extension_ptr

Define Documentation

Definition at line 27 of file php_reflection.h.


Function Documentation

PHPAPI void zend_reflection_class_factory ( zend_class_entry *  ce,
zval *object  TSRMLS_DC 
)

Definition at line 1142 of file php_reflection.c.

{
       reflection_object *intern;
       zval *name;

       MAKE_STD_ZVAL(name);
       ZVAL_STRINGL(name, ce->name, ce->name_length, 1);
       reflection_instantiate(reflection_class_ptr, object TSRMLS_CC);
       intern = (reflection_object *) zend_object_store_get_object(object TSRMLS_CC);
       intern->ptr = ce;
       intern->ref_type = REF_TYPE_OTHER;
       intern->ce = ce;
       zend_hash_update(Z_OBJPROP_P(object), "name", sizeof("name"), (void **) &name, sizeof(zval *), NULL);
}

Here is the call graph for this function:

Here is the caller graph for this function:


Variable Documentation

PHPAPI zend_class_entry* reflection_class_ptr

Definition at line 55 of file php_reflection.c.

PHPAPI zend_class_entry* reflection_exception_ptr

Definition at line 50 of file php_reflection.c.

PHPAPI zend_class_entry* reflection_extension_ptr

Definition at line 59 of file php_reflection.c.

Definition at line 52 of file php_reflection.c.

PHPAPI zend_class_entry* reflection_function_ptr

Definition at line 53 of file php_reflection.c.

PHPAPI zend_class_entry* reflection_method_ptr

Definition at line 57 of file php_reflection.c.

zend_module_entry reflection_module_entry

Definition at line 5553 of file php_reflection.c.

PHPAPI zend_class_entry* reflection_object_ptr

Definition at line 56 of file php_reflection.c.

PHPAPI zend_class_entry* reflection_parameter_ptr

Definition at line 54 of file php_reflection.c.

PHPAPI zend_class_entry* reflection_property_ptr

Definition at line 58 of file php_reflection.c.

PHPAPI zend_class_entry* reflection_ptr

Definition at line 51 of file php_reflection.c.

PHPAPI zend_class_entry* reflector_ptr

Definition at line 49 of file php_reflection.c.