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_object_handlers.c1214 if (function_name->len == ce->name->len && ce->constructor) {
1216 /* Only change the method to the constructor if the constructor isn't called __construct
1219 if (!memcmp(lc_class_name, lc_function_name->val, function_name->len) && memcmp(ce->constructor->common.function_name->val, "__", sizeof("__") - 1)) {
1220 fbc = ce->constructor;
1346 zend_function *constructor = zobj->ce->constructor; local
1348 if (constructor) {
1349 if (constructor->op_array.fn_flags & ZEND_ACC_PUBLIC) {
1351 } else if (constructor
[all...]
H A Dzend.h129 union _zend_function *constructor; member in struct:_zend_class_entry
H A Dzend_vm_def.h2252 if (UNEXPECTED(ce->constructor == NULL)) {
2253 zend_error_noreturn(E_ERROR, "Cannot call constructor");
2255 if (EX(object) && zend_get_class_entry(EX(object) TSRMLS_CC) != ce->constructor->common.scope && (ce->constructor->common.fn_flags & ZEND_ACC_PRIVATE)) {
2258 fbc = ce->constructor;
3603 zend_function *constructor; variable
3616 constructor = Z_OBJ_HT(object_zval)->get_constructor(Z_OBJ(object_zval) TSRMLS_CC);
3618 if (constructor == NULL) {
3628 constructor, opline->extended_value,
H A Dzend_vm_execute.h1047 zend_function *constructor; local
1060 constructor = Z_OBJ_HT(object_zval)->get_constructor(Z_OBJ(object_zval) TSRMLS_CC);
1062 if (constructor == NULL) {
1072 constructor, opline->extended_value,
4121 if (UNEXPECTED(ce->constructor == NULL)) {
4122 zend_error_noreturn(E_ERROR, "Cannot call constructor");
4124 if (EX(object) && zend_get_class_entry(EX(object) TSRMLS_CC) != ce->constructor->common.scope && (ce->constructor->common.fn_flags & ZEND_ACC_PRIVATE)) {
4127 fbc = ce->constructor;
5427 if (UNEXPECTED(ce->constructor
[all...]
/PHP_TRUNK/ext/soap/
H A Dsoap.c805 SoapParam constructor */
829 SoapHeader constructor */
871 SoapFault constructor */
927 SoapFault constructor */
970 SoapVar constructor */
1117 SoapServer constructor */
1685 /* Call constructor */
1687 zval c_ret, constructor; local
1689 ZVAL_STRING(&constructor, ZEND_CONSTRUCTOR_FUNC_NAME);
1690 if (call_user_function(NULL, &tmp_soap, &constructor,
1714 zval c_ret, constructor; local
[all...]
/PHP_TRUNK/ext/reflection/
H A Dphp_reflection.c1386 fcc.function_handler = ce_ptr->constructor;
3166 Returns whether this method is the constructor */
3179 RETURN_BOOL(mptr->common.fn_flags & ZEND_ACC_CTOR && intern->ce->constructor && intern->ce->constructor->common.scope == mptr->common.scope);
3616 Returns the class' constructor if there is one, NULL otherwise */
3627 if (ce->constructor) {
3628 reflection_method_factory(ce, ce->constructor, NULL, return_value TSRMLS_CC);
4056 /* Basically, the class is instantiable. Though, if there is a constructor
4058 if (!ce->constructor) {
4062 RETURN_BOOL(ce->constructor
4171 zend_function *constructor; local
4264 zend_function *constructor; local
[all...]

Completed in 62 milliseconds