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.c1154 if (function_name->len == ce->name->len && ce->constructor) {
1156 /* Only change the method to the constructor if the constructor isn't called __construct
1159 if (!memcmp(lc_class_name, lc_function_name->val, function_name->len) && memcmp(ce->constructor->common.function_name->val, "__", sizeof("__") - 1)) {
1160 fbc = ce->constructor;
1288 zend_function *constructor = zobj->ce->constructor; local
1290 if (constructor) {
1291 if (constructor->op_array.fn_flags & ZEND_ACC_PUBLIC) {
1293 } else if (constructor
[all...]
H A Dzend_vm_def.h3085 if (UNEXPECTED(ce->constructor == NULL)) {
3086 zend_error(E_EXCEPTION | E_ERROR, "Cannot call constructor");
3089 if (Z_OBJ(EX(This)) && Z_OBJ(EX(This))->ce != ce->constructor->common.scope && (ce->constructor->common.fn_flags & ZEND_ACC_PRIVATE)) {
3093 fbc = ce->constructor;
4916 zend_function *constructor; variable
4937 constructor = Z_OBJ_HT(object_zval)->get_constructor(Z_OBJ(object_zval));
4939 if (constructor == NULL) {
4951 constructor,
H A Dzend_vm_execute.h3486 zend_function *constructor; local
3507 constructor = Z_OBJ_HT(object_zval)->get_constructor(Z_OBJ(object_zval));
3509 if (constructor == NULL) {
3521 constructor,
5744 if (UNEXPECTED(ce->constructor == NULL)) {
5745 zend_error(E_EXCEPTION | E_ERROR, "Cannot call constructor");
5748 if (Z_OBJ(EX(This)) && Z_OBJ(EX(This))->ce != ce->constructor->common.scope && (ce->constructor->common.fn_flags & ZEND_ACC_PRIVATE)) {
5752 fbc = ce->constructor;
7723 if (UNEXPECTED(ce->constructor
15195 zend_function *constructor; local
[all...]
/PHP_TRUNK/ext/soap/
H A Dsoap.c816 SoapParam constructor */
840 SoapHeader constructor */
882 SoapFault constructor */
938 SoapFault constructor */
987 SoapVar constructor */
1134 SoapServer constructor */
1716 /* Call constructor */
1718 zval c_ret, constructor; local
1720 ZVAL_STRING(&constructor, ZEND_CONSTRUCTOR_FUNC_NAME);
1721 if (call_user_function(NULL, &tmp_soap, &constructor,
1740 zval c_ret, constructor; local
[all...]
/PHP_TRUNK/ext/reflection/
H A Dphp_reflection.c1374 fcc.function_handler = ce_ptr->constructor;
3383 Returns whether this method is the constructor */
3396 RETURN_BOOL(mptr->common.fn_flags & ZEND_ACC_CTOR && intern->ce->constructor && intern->ce->constructor->common.scope == mptr->common.scope);
3855 Returns the class' constructor if there is one, NULL otherwise */
3866 if (ce->constructor) {
3867 reflection_method_factory(ce, ce->constructor, NULL, return_value);
4310 /* Basically, the class is instantiable. Though, if there is a constructor
4312 if (!ce->constructor) {
4316 RETURN_BOOL(ce->constructor
4427 zend_function *constructor; local
4523 zend_function *constructor; local
[all...]

Completed in 54 milliseconds