| /PHP_5_3/ext/spl/examples/ |
| H A D | keyfilter.inc | 18 * are strings. In other words you can put an iterator into the constructor
|
| /PHP_5_3/ext/spl/internal/ |
| H A D | cachingiterator.inc | 129 * @throw exception when CALL_TOSTRING was not specified in constructor
|
| H A D | filteriterator.inc | 19 * you can put an iterator into the constructor and the instance will only
|
| H A D | iteratoriterator.inc | 63 /** \return the inner iterator as passed to the constructor
|
| H A D | limititerator.inc | 53 * specified in constructor). 73 /** Rewind to offset specified in constructor 109 * constructor).
|
| H A D | recursivecachingiterator.inc | 83 * constructor this fucntion returns false so that getChildren does
|
| H A D | recursiveiteratoriterator.inc | 60 /** Rewind to top iterator as set in constructor
|
| H A D | spldoublylinkedlist.inc | 143 /** Rewind to top iterator as set in constructor
|
| H A D | splobjectstorage.inc | 28 /** Rewind to top iterator as set in constructor
|
| /PHP_5_3/scripts/dev/generate-phpt/src/ |
| H A D | gtMethod.php | 29 * 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_5_3/ext/interbase/ |
| H A D | php_ibase_udf.c | 130 static void __attribute__((constructor)) init()
|
| /PHP_5_3/ext/pdo/ |
| H A D | pdo_dbh.c | 427 pdo_raise_impl_error(dbh, NULL, "HY000", "constructor arguments must be passed as an array" TSRMLS_CC); 430 if (!dbstmt_ce->constructor) { 431 pdo_raise_impl_error(dbh, NULL, "HY000", "user-supplied statement does not accept constructor arguments" TSRMLS_CC); 455 if (dbstmt_ce->constructor) { 484 fcc.function_handler = dbstmt_ce->constructor; 542 if (dbstmt_ce->constructor && !(dbstmt_ce->constructor->common.fn_flags & (ZEND_ACC_PRIVATE|ZEND_ACC_PROTECTED))) { 544 "user-supplied statement class cannot have a public constructor" TSRMLS_CC); 806 if ((*pce)->constructor && !((*pce)->constructor [all...] |
| H A D | pdo_stmt.c | 755 if (ce->constructor) { 778 fcc->function_handler = ce->constructor; 783 pdo_raise_impl_error(stmt->dbh, stmt, "HY000", "user-supplied class does not have a constructor, use NULL for the ctor_params parameter, or simply omit it" TSRMLS_CC); 977 if (ce->constructor && (flags & PDO_FETCH_PROPS_LATE)) { 981 pdo_raise_impl_error(stmt->dbh, stmt, "HY000", "could not call class constructor" TSRMLS_CC); 1177 if (ce->constructor && !(flags & (PDO_FETCH_PROPS_LATE | PDO_FETCH_SERIALIZE))) { 1181 pdo_raise_impl_error(stmt->dbh, stmt, "HY000", "could not call class constructor" TSRMLS_CC);
|
| /PHP_5_3/ext/reflection/ |
| H A D | php_reflection.c | 1358 fcc.function_handler = ce_ptr->constructor; 2895 Returns whether this method is the constructor */ 2908 RETURN_BOOL(mptr->common.fn_flags & ZEND_ACC_CTOR && intern->ce->constructor && intern->ce->constructor->common.scope == mptr->common.scope); 3375 Returns the class' constructor if there is one, NULL otherwise */ 3386 if (ce->constructor) { 3387 reflection_method_factory(ce, ce->constructor, NULL, return_value TSRMLS_CC); 3820 /* Basically, the class is instantiable. Though, if there is a constructor 3822 if (!ce->constructor) { 3826 RETURN_BOOL(ce->constructor [all...] |
| /PHP_5_3/ext/spl/ |
| H A D | spl_engine.h | 37 zend_call_method(retval, pce, &pce->constructor, pce->constructor->common.function_name, strlen(pce->constructor->common.function_name), NULL, 1, arg1, NULL TSRMLS_CC); 47 zend_call_method(retval, pce, &pce->constructor, pce->constructor->common.function_name, strlen(pce->constructor->common.function_name), NULL, 2, arg1, arg2 TSRMLS_CC);
|
| H A D | spl_directory.c | 452 if (ce->constructor->common.scope != spl_ce_SplFileInfo) { 455 zend_call_method_with_1_params(&return_value, ce, &ce->constructor, "__construct", NULL, arg1); 496 if (ce->constructor->common.scope != spl_ce_SplFileInfo) { 499 zend_call_method_with_1_params(&return_value, ce, &ce->constructor, "__construct", NULL, arg1); 518 if (ce->constructor->common.scope != spl_ce_SplFileObject) { 523 zend_call_method_with_2_params(&return_value, ce, &ce->constructor, "__construct", NULL, arg1, arg2); 1107 the constructor fails. Here we use this to ensure the object 1110 When the constructor gets called the object is already created 1416 "The parent constructor was not called: the object is in an "
|
| /PHP_5_3/main/streams/ |
| H A D | userspace.c | 298 if (uwrap->ce->constructor) { 314 fcc.function_handler = uwrap->ce->constructor; 320 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Could not execute %s::%s()", uwrap->ce->name, uwrap->ce->constructor->common.function_name);
|
| /PHP_5_3/sapi/cli/ |
| H A D | php_cli.c | 773 * because the executor's constructor does not set initialize it. 1318 EX(function_state).function = pce->constructor; 1319 zend_call_method_with_1_params(&ref, pce, &pce->constructor, "__construct", NULL, arg);
|
| /PHP_5_3/Zend/ |
| H A D | zend_compile.c | 1281 if (!CG(active_class_entry)->constructor) { 1282 CG(active_class_entry)->constructor = (zend_function *) CG(active_op_array); 1285 if (CG(active_class_entry)->constructor) { 1286 zend_error(E_STRICT, "Redefining already defined constructor for class %s", CG(active_class_entry)->name); 1288 CG(active_class_entry)->constructor = (zend_function *) CG(active_op_array); 2469 if (ce->constructor) { 2470 if (ce->parent->constructor && ce->parent->constructor->common.fn_flags & ZEND_ACC_FINAL) { 2472 ce->parent->name, ce->parent->constructor->common.function_name, 2473 ce->name, ce->constructor [all...] |
| H A D | zend_object_handlers.c | 990 if (function_name_strlen == ce->name_length && ce->constructor) { 992 /* Only change the method to the constructor if the constructor isn't called __construct 995 if (!memcmp(lc_class_name, lc_function_name, function_name_strlen) && memcmp(ce->constructor->common.function_name, "__", sizeof("__") - 1)) { 996 fbc = ce->constructor; 1107 zend_function *constructor = zobj->ce->constructor; local 1109 if (constructor) { 1110 if (constructor->op_array.fn_flags & ZEND_ACC_PUBLIC) { 1112 } else if (constructor [all...] |
| H A D | zend_vm_def.h | 2032 if(!ce->constructor) { 2033 zend_error_noreturn(E_ERROR, "Cannot call constructor"); 2035 if (EG(This) && Z_OBJCE_P(EG(This)) != ce->constructor->common.scope && (ce->constructor->common.fn_flags & ZEND_ACC_PRIVATE)) { 2038 EX(fbc) = ce->constructor; 2913 zend_function *constructor; variable 2929 constructor = Z_OBJ_HT_P(object_zval)->get_constructor(object_zval TSRMLS_CC); 2931 if (constructor == NULL) { 2948 EX(fbc) = constructor;
|
| /PHP_5_3/ext/mysqli/ |
| H A D | mysqli.c | 976 constructor for statement object. 1033 constructor for result object. 1271 if (ce->constructor) { 1307 fcc.function_handler = ce->constructor; 1313 zend_throw_exception_ex(zend_exception_get_default(TSRMLS_C), 0 TSRMLS_CC, "Could not execute %s::%s()", ce->name, ce->constructor->common.function_name); 1323 zend_throw_exception_ex(zend_exception_get_default(TSRMLS_C), 0 TSRMLS_CC, "Class %s does not have a constructor hence you cannot use ctor_params", ce->name);
|
| /PHP_5_3/ext/soap/ |
| H A D | soap.c | 884 SoapParam constructor */ 909 SoapHeader constructor */ 952 SoapFault constructor */ 1008 SoapFault constructor */ 1052 SoapVar constructor */ 1215 SoapServer constructor */ 1814 /* Call constructor */ 1817 zval c_ret, constructor; local 1820 INIT_ZVAL(constructor); 1822 ZVAL_STRING(&constructor, ZEND_CONSTRUCTOR_FUNC_NAM 1848 zval c_ret, constructor; local [all...] |
| /PHP_5_3/ext/phar/ |
| H A D | phar_object.c | 1146 * This function is used as the constructor for both the Phar and PharData 1181 zend_throw_exception_ex(spl_ce_BadMethodCallException, 0 TSRMLS_CC, "Cannot call constructor twice"); 1270 &spl_ce_RecursiveDirectoryIterator->constructor, "__construct", NULL, &arg1, &arg2); 1846 &spl_ce_RecursiveDirectoryIterator->constructor, "__construct", NULL, &arg, &arg2); 1863 &spl_ce_RecursiveIteratorIterator->constructor, "__construct", NULL, iter); 1888 &spl_ce_RegexIterator->constructor, "__construct", NULL, iteriter, &arg2); 2279 zend_call_method_with_1_params(&ret, ce, &ce->constructor, "__construct", NULL, &arg1); 4502 zend_throw_exception_ex(spl_ce_BadMethodCallException, 0 TSRMLS_CC, "Cannot call constructor twice"); 4543 &spl_ce_SplFileInfo->constructor, "__construct", NULL, &arg1);
|
| /PHP_5_3/ext/mysql/ |
| H A D | php_mysql.c | 2127 if (ce->constructor) { 2163 fcc.function_handler = ce->constructor; 2169 zend_throw_exception_ex(zend_exception_get_default(TSRMLS_C), 0 TSRMLS_CC, "Could not execute %s::%s()", ce->name, ce->constructor->common.function_name); 2179 zend_throw_exception_ex(zend_exception_get_default(TSRMLS_C), 0 TSRMLS_CC, "Class %s does not have a constructor hence you cannot use ctor_params", ce->name);
|