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.
我们储存在每个菜单项对象中的数据是一个仅包含一个元素的数组:类别名。
The most notable limitation is the inability to determine the position you're in within a list or array (or custom object).
最明显的显然是不能确定您在列表或数组(或者定制对象)中的位置。
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's now a simple matter to iterate over this array, retrieve the details of each entry using object properties, and turn it into an HTML page.
现在,您可以轻松迭代这个数组,使用对象属性检索每个条目的细节,并将其转换为html页面。
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.
要访问以类的形式存储在数组中的内容库对象,对象必须转换为它自己的类。
Isn't "new Array " more consistent with the way every other kind of object is instantiated?
难道“newArray”不是与其它类型对象的实例化方式更一致吗?
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的值一样简单。
You go through the cookies, form a string array with one element for each cookie, and then use this array to set up the RequestOptions object as shown in listing 2.
通览cookies,使用每个cookies的一个元素形成一个字符串数组,然后使用该数组设置RequestOptions对象,如清单2所示。
Even a simple Hello World program contains a vast array of details when it reaches the object file stage.
在目标文件阶段,即使是一个简单的Hello World程序,其中也包含了大量的细节信息。
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 image is recorded using an array of normal cameras, each of which views the object from a different point of view.
这个全息图是使用一系列常规的相机拍摄的,每个相机从不同的角度拍摄这个对象。
Indeed, the literal representation of an object is simply an associative array that may contain functions for some of its values.
实际上,对象的文本表示只不过是一个联合数组,它可能包含某些函数作为一些值。
应用推荐