Searched refs:constructor (Results 1 - 25 of 34) sorted by relevance

12

/PHP_TRUNK/ext/spl/examples/
H A Dkeyfilter.inc18 * are strings. In other words you can put an iterator into the constructor
/PHP_TRUNK/ext/spl/internal/
H A Dfilteriterator.inc19 * you can put an iterator into the constructor and the instance will only
H A Dlimititerator.inc53 * specified in constructor).
73 /** Rewind to offset specified in constructor
109 * constructor).
H A Drecursiveiteratoriterator.inc60 /** Rewind to top iterator as set in constructor
H A Dspldoublylinkedlist.inc143 /** Rewind to top iterator as set in constructor
H A Dcachingiterator.inc129 * @throw exception when CALL_TOSTRING was not specified in constructor
H A Diteratoriterator.inc63 /** \return the inner iterator as passed to the constructor
H A Dsplobjectstorage.inc28 /** Rewind to top iterator as set in constructor
H A Drecursivecachingiterator.inc83 * constructor this function returns false so that getChildren does
/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/interbase/
H A Dphp_ibase_udf.c128 static void __attribute__((constructor)) init()
/PHP_TRUNK/ext/pdo/
H A Dpdo_dbh.c407 pdo_raise_impl_error(dbh, NULL, "HY000", "constructor arguments must be passed as an array");
410 if (!dbstmt_ce->constructor) {
411 pdo_raise_impl_error(dbh, NULL, "HY000", "user-supplied statement does not accept constructor arguments");
436 if (dbstmt_ce->constructor) {
454 fcc.function_handler = dbstmt_ce->constructor;
507 if (dbstmt_ce->constructor && !(dbstmt_ce->constructor->common.fn_flags & (ZEND_ACC_PRIVATE|ZEND_ACC_PROTECTED))) {
509 "user-supplied statement class cannot have a public constructor");
776 if (pce->constructor && !(pce->constructor
[all...]
H A Dpdo_stmt.c743 if (ce->constructor) {
752 zend_fcall_info_args_ex(fci, ce->constructor, &stmt->fetch.cls.ctor_args);
755 fcc->function_handler = ce->constructor;
760 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");
812 /* Added to free constructor arguments ??? */
958 if (ce->constructor && (flags & PDO_FETCH_PROPS_LATE)) {
962 pdo_raise_impl_error(stmt->dbh, stmt, "HY000", "could not call class constructor");
1152 if (ce->constructor && !(flags & (PDO_FETCH_PROPS_LATE | PDO_FETCH_SERIALIZE))) {
1156 pdo_raise_impl_error(stmt->dbh, stmt, "HY000", "could not call class constructor");
/PHP_TRUNK/ext/spl/
H A Dspl_engine.h35 zend_function *func = pce->constructor;
46 zend_function *func = pce->constructor;
57 zend_function *func = pce->constructor;
/PHP_TRUNK/main/streams/
H A Duserspace.c296 if (uwrap->ce->constructor) {
312 fcc.function_handler = uwrap->ce->constructor;
318 php_error_docref(NULL, E_WARNING, "Could not execute %s::%s()", ZSTR_VAL(uwrap->ce->name), ZSTR_VAL(uwrap->ce->constructor->common.function_name));
/PHP_TRUNK/ext/mysqli/
H A Dmysqli.c1033 constructor for statement object.
1093 constructor for result object.
1286 if (ce->constructor) {
1311 fcc.function_handler = ce->constructor;
1317 zend_throw_exception_ex(zend_ce_exception, 0, "Could not execute %s::%s()", ZSTR_VAL(ce->name), ZSTR_VAL(ce->constructor->common.function_name));
1325 zend_throw_exception_ex(zend_ce_exception, 0, "Class %s does not have a constructor hence you cannot use ctor_params", ZSTR_VAL(ce->name));
/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/sapi/cli/
H A Dphp_cli.c1087 zend_call_method_with_1_params(&ref, pce, &pce->constructor, "__construct", NULL, &arg);
1321 * because the executor's constructor does not set initialize it.
/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_inheritance.c142 if (ce->constructor) {
143 if (ce->parent->constructor && UNEXPECTED(ce->parent->constructor->common.fn_flags & ZEND_ACC_FINAL)) {
145 ZSTR_VAL(ce->parent->name), ZSTR_VAL(ce->parent->constructor->common.function_name),
146 ZSTR_VAL(ce->name), ZSTR_VAL(ce->constructor->common.function_name));
151 ce->constructor = ce->parent->constructor;
1030 if (ce->constructor && (!ce->parent || ce->constructor != ce->parent->constructor)) {
[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...]
/PHP_TRUNK/ext/phar/
H A Dphar_object.c1115 * This function is used as the constructor for both the Phar and PharData
1147 zend_throw_exception_ex(spl_ce_BadMethodCallException, 0, "Cannot call constructor twice");
1234 &spl_ce_RecursiveDirectoryIterator->constructor, "__construct", NULL, &arg1, &arg2);
1756 &spl_ce_RecursiveDirectoryIterator->constructor, "__construct", NULL, &arg, &arg2);
1772 &spl_ce_RecursiveIteratorIterator->constructor, "__construct", NULL, &iter);
1795 &spl_ce_RegexIterator->constructor, "__construct", NULL, &iteriter, &arg2);
2193 zend_call_method_with_1_params(&ret, ce, &ce->constructor, "__construct", NULL, &arg1);
4364 zend_throw_exception_ex(spl_ce_BadMethodCallException, 0, "Cannot call constructor twice");
4404 &spl_ce_SplFileInfo->constructor, "__construct", NULL, &arg1);
/PHP_TRUNK/ext/opcache/
H A Dzend_persist.c819 if (ce->constructor) {
820 ce->constructor = zend_shared_alloc_get_xlat_entry(ce->constructor);
H A Dzend_file_cache.c626 SERIALIZE_PTR(ce->constructor);
1158 UNSERIALIZE_PTR(ce->constructor);

Completed in 84 milliseconds

12