Searched defs:constructor (Results 1 - 7 of 7) sorted by relevance

/PHP_TRUNK/scripts/dev/generate-phpt/src/
H A DgtMethod.php29 * Set the names of the class constructor arguments. Take only mandatory argument names.
34 $constructor = $reflectionClass->getConstructor(); variable
35 foreach($constructor->getParameters() as $i => $param) {
64 * Return the list of constructor argument names
92 * Set the list of arguments to be passed to the constructor
107 * Return the list of the arguments to be passed to the constructor
117 * Set up the source statements that initialise constructor arguments;
131 * Return the constructor initialisation statements
/PHP_TRUNK/Zend/
H A Dzend.h144 union _zend_function *constructor; member in struct:_zend_class_entry
H A Dzend_object_handlers.c1124 if (function_name->len == ce->name->len && ce->constructor) {
1126 /* Only change the method to the constructor if the constructor isn't called __construct
1129 if (!memcmp(lc_class_name, lc_function_name->val, function_name->len) && memcmp(ce->constructor->common.function_name->val, "__", sizeof("__") - 1)) {
1130 fbc = ce->constructor;
1255 zend_function *constructor = zobj->ce->constructor; local
1257 if (constructor) {
1258 if (constructor->op_array.fn_flags & ZEND_ACC_PUBLIC) {
1260 } else if (constructor
[all...]
H A Dzend_vm_def.h2428 if (UNEXPECTED(ce->constructor == NULL)) {
2429 zend_error_noreturn(E_ERROR, "Cannot call constructor");
2431 if (Z_OBJ(EX(This)) && Z_OBJ(EX(This))->ce != ce->constructor->common.scope && (ce->constructor->common.fn_flags & ZEND_ACC_PRIVATE)) {
2434 fbc = ce->constructor;
3804 zend_function *constructor; variable
3832 constructor = Z_OBJ_HT(object_zval)->get_constructor(Z_OBJ(object_zval));
3834 if (constructor == NULL) {
3846 constructor,
H A Dzend_vm_execute.h2685 zend_function *constructor; local
2713 constructor = Z_OBJ_HT(object_zval)->get_constructor(Z_OBJ(object_zval));
2715 if (constructor == NULL) {
2727 constructor,
4218 if (UNEXPECTED(ce->constructor == NULL)) {
4219 zend_error_noreturn(E_ERROR, "Cannot call constructor");
4221 if (Z_OBJ(EX(This)) && Z_OBJ(EX(This))->ce != ce->constructor->common.scope && (ce->constructor->common.fn_flags & ZEND_ACC_PRIVATE)) {
4224 fbc = ce->constructor;
5909 if (UNEXPECTED(ce->constructor
11407 zend_function *constructor; local
[all...]
/PHP_TRUNK/ext/reflection/
H A Dphp_reflection.c1396 fcc.function_handler = ce_ptr->constructor;
3210 Returns whether this method is the constructor */
3223 RETURN_BOOL(mptr->common.fn_flags & ZEND_ACC_CTOR && intern->ce->constructor && intern->ce->constructor->common.scope == mptr->common.scope);
3657 Returns the class' constructor if there is one, NULL otherwise */
3668 if (ce->constructor) {
3669 reflection_method_factory(ce, ce->constructor, NULL, return_value);
4102 /* Basically, the class is instantiable. Though, if there is a constructor
4104 if (!ce->constructor) {
4108 RETURN_BOOL(ce->constructor
4217 zend_function *constructor; local
4310 zend_function *constructor; local
[all...]
/PHP_TRUNK/ext/soap/
H A Dsoap.c815 SoapParam constructor */
839 SoapHeader constructor */
881 SoapFault constructor */
937 SoapFault constructor */
980 SoapVar constructor */
1127 SoapServer constructor */
1695 /* Call constructor */
1697 zval c_ret, constructor; local
1699 ZVAL_STRING(&constructor, ZEND_CONSTRUCTOR_FUNC_NAME);
1700 if (call_user_function(NULL, &tmp_soap, &constructor,
1724 zval c_ret, constructor; local
[all...]

Completed in 47 milliseconds