The callback function then uses the forEach method on the Array object.
该回调函数然后使用Array对象的forEach方法。
The array object provides support for creation of arrays of any data type.
阵列物件为建立任何资料型别的阵列提供支援。
The Array object is used to store a set of values in a single variable name.
阵列(数组)对象用来在一单独的变量名称内存储一系列值。
When the user enters new vehicle data, you create a new element in the array object.
当用户输入新车辆数据时,您将在数组对象中创建一个新元素。
The primitive value is inherited by all objects descended from the Array object.
值可被所有来自数组对象的子对象所继承。
The data we store in each menu item object is an array containing only one element: the name of the category.
我们储存在每个菜单项对象中的数据是一个仅包含一个元素的数组:类别名。
This object should be given the name of the remote procedure followed by the list of arguments all wrapped up into one PHP array object.
这个对象应该被给与远程过程的名称,后面跟随着由所有参数列表包装成的一个PHP数组对象。
Each of those result objects is added to the results array for the main object.
每个结果对象都被添加到主对象的结果数组中。
Here again, you used object notation to define the parameters, and array notation to access them.
这里同样使用对象表示法定义参数,但是用数组表示法访问它们。
Since the search results are being stored in an array, you'd expect functions to work through the array like you would any data object in any programming language.
因为搜索结果存储在一个数组中,您肯定希望函数遍历该数组,就像处理其他编程语言的数据对象一样。
The methods in this class let you create new arrays, get the length of an array object, and read and write indexed values of an array object.
该类中的方法使您能够创建新数组,获得数组对象的长度,读和写数组对象的索引值。
For a normal object (non-array) : the object must be an instance of the target class or a subclass of the target class.
对于普通对象(非数组):对象必须是目标类的实例或目标类的子类的实例。
When a socket connects, append the socket object to an array.
当一个套接字进行连接时,将该套接字对象附加到一个数组。
It includes the name of the object and an array of fields.
它包括对象的名称和字段的数组。
To access the Content store object that is stored in the array as the class expected to be returned, the object must be cast to its actual class.
要访问以类的形式存储在数组中的内容库对象,对象必须转换为它自己的类。
Previously, the method accepted an Object array as its argument.
以前,这个方法接受Object数组作为它的参数。
For each iteration through the array, the variable named city contains a SortedMap object.
在对这个数组的每一次迭代中,变量city包含一个Sorted map对象。
The inputs in this example are an object array and two Long objects, and the response is also a string, and in this example you simply return it.
在本例中输入的是一个对象阵列和两个Long对象,响应也是一个字符串,而且在此例中您只能返回它。
SDOs support object syntax and associative array syntax, so the properties could have been set with object syntax.
SDO支持对象语法和关联数组语法,因此属性可以通过对象语法设置。
The second change required is to construct (at the very least) an object array holding the actual values of parameters to be passed into the Collaborator class' constructor.
必需的第二项更改是(至少)构造一个保存传递给 Collaborator类的构造函数的参数实际值的对象数组。
You traverse object graph and create the array of Stock objects.
您遍历对象图并创建Stock对象数组。
The term ID, $tid, is found using a foreach loop on the array term object array retrieved.
在获得的词汇对象数组上执行 foreach循环,找到词汇ID $tid。
At the bottom of the script, you can see that using the Configuration object is as simple as asking for the value of imgpath as if the object were an array.
假定对象就是一个阵列,在脚本的末尾,您可以看到使用Configuration对象就像寻找imgpath的值一样简单。
Step 3: Create the XKMSLocate object with the key name and the array of response strings.
步骤3:用密钥名和响应字符串数组创建XKMSLocate对象。
The Phar object uses the ArrayAccess SPL object to allow accessing the contents of the archive as an array, so it opens up many ways of adding files to the archive.
Phar对象使用ArrayAccessSPL 对象,允许以数组的形式访问归档内容,因此提供了许多方法来向归档添加文件。
The first trick is to turn an object into a byte array.
第一个技巧是将对象转变为一个字节数组。
The image is recorded using an array of normal cameras, each of which views the object from a different point of view.
这个全息图是使用一系列常规的相机拍摄的,每个相机从不同的角度拍摄这个对象。
Remember that the prototype is an object, so it is also an associative array.
请记住,原型是一个对象,所以它也是一个关联数组。
After the title string is added to the items array, you release the title string object so that the next title is not appended to the previous title.
标题字符串添加到条目数组后,就释放标题字符串对象,这样下一个标题就不会添加到前一个标题上。
Also, it would define the variable as an object array unless otherwise indicated.
而且,在没有明确指定的情况下,会把该变量定义为对象数组。
应用推荐