Searched defs:parent_ce (Results 1 - 3 of 3) sorted by relevance

/PHP_5_3/ext/spl/
H A Dspl_functions.c56 PHPAPI void spl_register_sub_class(zend_class_entry ** ppce, zend_class_entry * parent_ce, char * class_name, void *obj_ctor, const zend_function_entry * function_list TSRMLS_DC) argument
61 *ppce = zend_register_internal_class_ex(&ce, parent_ce, NULL TSRMLS_CC);
67 (*ppce)->create_object = parent_ce->create_object;
/PHP_5_3/Zend/
H A Dzend_API.c2214 /* If parent_ce is not NULL then it inherits from parent_ce
2215 * If parent_ce is NULL and parent_name isn't then it looks for the parent and inherits from it
2216 * If both parent_ce and parent_name are NULL it does a regular class registration
2219 ZEND_API zend_class_entry *zend_register_internal_class_ex(zend_class_entry *class_entry, zend_class_entry *parent_ce, char *parent_name TSRMLS_DC) /* {{{ */ argument
2223 if (!parent_ce && parent_name) {
2228 parent_ce = *pce;
2234 if (parent_ce) {
2235 zend_do_inheritance(register_class, parent_ce TSRMLS_CC);
H A Dzend_compile.c2701 zend_class_entry *parent_ce = ce->parent; local
2722 (parent_info->flags & ZEND_ACC_STATIC) ? "static " : "non static ", parent_ce->name, hash_key->arKey,
2732 zend_error(E_COMPILE_ERROR, "Access level to %s::$%s must be %s (as in class %s)%s", ce->name, hash_key->arKey, zend_visibility_string(parent_info->flags), parent_ce->name, (parent_info->flags&ZEND_ACC_PUBLIC) ? "" : " or weaker");
2738 if (zend_hash_quick_find(&parent_ce->default_properties, parent_info->name, parent_info->name_length+1, parent_info->h, (void **) &pvalue) == SUCCESS) {
2754 if (parent_ce->type != ce->type) {
2758 ht = CE_STATIC_MEMBERS(parent_ce);
2760 ht = &parent_ce->default_static_members;
2839 #define zval_property_ctor(parent_ce, ce) \
2840 ((copy_ctor_func_t) (((parent_ce)->type != (ce)->type) ? zval_shared_property_ctor : zval_add_ref))
2842 ZEND_API void zend_do_inheritance(zend_class_entry *ce, zend_class_entry *parent_ce TSRMLS_D
3011 do_bind_inherited_class(const zend_op *opline, HashTable *class_table, zend_class_entry *parent_ce, zend_bool compile_time TSRMLS_DC) argument
[all...]

Completed in 17 milliseconds