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/ext/reflection/
H A Dphp_reflection.c1413 fcc.function_handler = ce_ptr->constructor;
3565 Returns whether this method is the constructor */
3578 RETURN_BOOL(mptr->common.fn_flags & ZEND_ACC_CTOR && intern->ce->constructor && intern->ce->constructor->common.scope == mptr->common.scope);
4038 Returns the class' constructor if there is one, NULL otherwise */
4049 if (ce->constructor) {
4050 reflection_method_factory(ce, ce->constructor, NULL, return_value);
4493 /* Basically, the class is instantiable. Though, if there is a constructor
4495 if (!ce->constructor) {
4499 RETURN_BOOL(ce->constructor
4610 zend_function *constructor; local
4706 zend_function *constructor; local
[all...]
/PHP_TRUNK/Zend/
H A Dzend.h144 union _zend_function *constructor; member in struct:_zend_class_entry
H A Dzend_object_handlers.c1178 if (ZSTR_LEN(function_name) == ZSTR_LEN(ce->name) && ce->constructor) {
1180 /* Only change the method to the constructor if the constructor isn't called __construct
1183 if (!memcmp(lc_class_name, ZSTR_VAL(lc_function_name), ZSTR_LEN(function_name)) && memcmp(ZSTR_VAL(ce->constructor->common.function_name), "__", sizeof("__") - 1)) {
1184 fbc = ce->constructor;
1312 zend_function *constructor = zobj->ce->constructor; local
1314 if (constructor) {
1315 if (constructor->op_array.fn_flags & ZEND_ACC_PUBLIC) {
1317 } else if (constructor
[all...]
H A Dzend_vm_def.h3069 if (UNEXPECTED(ce->constructor == NULL)) {
3070 zend_throw_error(NULL, "Cannot call constructor");
3073 if (Z_OBJ(EX(This)) && Z_OBJ(EX(This))->ce != ce->constructor->common.scope && (ce->constructor->common.fn_flags & ZEND_ACC_PRIVATE)) {
3077 fbc = ce->constructor;
4879 zend_function *constructor; variable
4899 constructor = Z_OBJ_HT(object_zval)->get_constructor(Z_OBJ(object_zval));
4901 if (constructor == NULL) {
4913 constructor,
H A Dzend_vm_execute.h3328 zend_function *constructor; local
3348 constructor = Z_OBJ_HT(object_zval)->get_constructor(Z_OBJ(object_zval));
3350 if (constructor == NULL) {
3362 constructor,
5654 if (UNEXPECTED(ce->constructor == NULL)) {
5655 zend_throw_error(NULL, "Cannot call constructor");
5658 if (Z_OBJ(EX(This)) && Z_OBJ(EX(This))->ce != ce->constructor->common.scope && (ce->constructor->common.fn_flags & ZEND_ACC_PRIVATE)) {
5662 fbc = ce->constructor;
7670 if (UNEXPECTED(ce->constructor
15375 zend_function *constructor; local
[all...]
/PHP_TRUNK/ext/soap/
H A Dsoap.c815 SoapParam constructor */
839 SoapHeader constructor */
881 SoapFault constructor */
937 SoapFault constructor */
986 SoapVar constructor */
1133 SoapServer constructor */
1715 /* Call constructor */
1717 zval c_ret, constructor; local
1719 ZVAL_STRING(&constructor, ZEND_CONSTRUCTOR_FUNC_NAME);
1720 if (call_user_function(NULL, &tmp_soap, &constructor,
1739 zval c_ret, constructor; local
[all...]

Completed in 65 milliseconds