We set the trace option in an options array parameter, which we pass to the SoapClient constructor. We modify our use of the constructor to.
我们在options数组参数中设置trace选项,将该参数传递给SoapClient构造函数。
Note: you can assign the sorting order and the sorting type parameters after each array. If you don't, each array parameter USES the default values.
注意:你可以指定分类顺序和分类的类型参数。如果你不指定,他们将采用默认值。
The extra parameter is the index in the array.
这个额外的参数就是数组中的下标。
Basically, whenever the last argument of a method is an array of objects, or a parameter declaration with a triple dot, you can pass multiple parameters to this method.
基本上,只要当一个方法的最后一个参数是一个对象数组,或者是一个有三个点的参数,你就可以向这个方法传入多重参数。
It takes a single parameter, a function, and applies the function to each element in the array.
它接受单个参数:一个函数,并将此函数应用于数组内的每个元素。
This function receives the match array as a parameter and returns a modified string that is used as a replacement.
那个函数则接收匹配到的数组作为参数,然后返回一个修改后的字符串作为替换。
The second parameter, a byte array, contains the message data.
第二个参数为字节数组,它包含消息数据。
If either one of those strings matches the parameter, then the appropriate array of lures is returned.
如果这两个字符串中有任意一个与参数相匹配,那么函数就会返回相应的鱼饵数组。
The third parameter is the name of the output array, and the fourth is an offset into the output array.
第三个参数是输出数组的名字,第四个是输出数组中的偏移。
The third parameter marker is to hold the source of the XML document to be shredded in the form of byte array.
第三个参数标记符用于存放将被分解为字节数组的XML文档的源。
The array of objects are the parameter values used for the constructor call.
该组对象是用于构造函数调用的参数值。
It takes a function as its parameter and applies the function sequentially to each object in the Array.
它使用一个函数作为它的参数,然后依次将这个函数应用到Array中的每个对象中。
If no additional roles are required, this parameter must be an empty array instead of null.
如果不需要任何额外的角色,那么该参数将为一个空数组,而不是null。
This does not apply to the comma separator, which is used in object literals, array literals, var statements, and parameter lists.
这不包括那些被用在对象定义,数组定义,var语句,和参数列表中的逗号分隔符。
Because the parameter groups is an array, it is possible to specify multiple groups, separating their names with commas.
因为参数groups是一个数组,所以可以指定多个组,组名之间用逗号分隔。
The input field invokes the wrapper function xajax_validateCatalogId with an array of form field values as a parameter.
输入字段调用包装器函数xajax_validatecatalogid,调用时以表单字段值数组作为参数。
Also, unlike the earlier examples, a class array in this scenario is included as an extra parameter to the intercept method.
此外,不同于先前的示例,此场景中的类数组作为附加参数被包含到了intercept方法中。
The get() method of AppConfig can be used to get the value of an individual parameter; because the parameters of interest are always array references, I automatically de-reference them.
AppConfig 的get()方法可以用来得到各个参数的值;由于感兴趣的参数总是数组引用,我自动地对它们进行解引用。
The previous parameter is replaced by the result of the function, and this process is repeated with the next element in the array until all of the elements are used.
而previous参数之后会被此函数的结果替代,并且这个过程还会针对数组的下一个元素重复,直到所有元素都用完为止。
The GenericTemplate instance holds the basic type parameter information for the class, along with the array of fields defined for the class.
GenericTemplate实例包含类的基本类型参数信息,还有为类定义的字段的数组。
This Element array is the output parameter set for the invoker and is returned to the Axis server.
此Element数组是调用方的输出参数集,将返回到Axis 服务器。
The current parameter starts off as the first element in the array.
current参数的初始值是数组内的第一个元素。
Listing 5: Creating the parameter array and invoking the Web service.
清单5:创建参数数组和调用Web服务。
The superglobal array will contain fields with the CGI parameter values named according to the name attribute of the respective input field in the form.
superglobal数组将根据表单中各个输入字段的name属性,来包含带有指定cgi参数值的字段。
The record ids of the created records are returned back in the ids parameter as an array, and they are given back in the order in which they are passed in the parameter list.
已创建记录的记录id在ids参数中作为数组返回,数组中记录id的顺序与在参数列表中传送它们的顺序相同。
They take in a function as a parameter to use when a match is found. This function receives the match array as a parameter and returns a modified string that is used as a replacement.
你可以为preg_replace_callback指定某个函数为参数,此函数能接收匹配结果数组为参数,并将数组修改后返回,作为替换的结果。
The above example is a good use case for closures: It USES one of the 18 standard PHP array functions that take a function as a parameter (such as array_walk, usort, and array_app).
以上示例是closures很好的使用例子:它采用18个标准php阵列函数之一,它将函数作为参数(比如array_walk、usort、和array_app)。
I've tried the latter approach in Listing 6. (Note that filter takes a (t) : Booleanmethod, meaning it takes a single parameter of whatever type the array holds and returns a Boolean.)
我在清单6中采取了后一种方法(注意filter使用了一个(t):Boolean方法,意味着使用数组持有的任意类型的参数,并返回一个Boolean)。
(If you leave out the second parameter for the decode method, it returns an array rather than an object).
如果忽略decode方法的第二个参数,则返回一个数组而不是一个对象。
(If you leave out the second parameter for the decode method, it returns an array rather than an object).
如果忽略decode方法的第二个参数,则返回一个数组而不是一个对象。
应用推荐