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.
标题字符串添加到条目数组后,就释放标题字符串对象,这样下一个标题就不会添加到前一个标题上。
Each of those result objects is added to the results array for the main object.
每个结果对象都被添加到主对象的结果数组中。
In this example, this method USES an SBJSON object to parse and obtain a data object array.
在这个示例中,该方法使用SBJSON对象来解析和获取数据对象数组。
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.
因为搜索结果存储在一个数组中,您肯定希望函数遍历该数组,就像处理其他编程语言的数据对象一样。
When a socket connects, append the socket object to an array.
当一个套接字进行连接时,将该套接字对象附加到一个数组。
This class simply converts the XML class to a PHP object and then walks through that object and creates an associative array, as in Listing 5.
该类仅仅将xml类转化为一个php对象,然后遍历该对象,并创建一个关联数组,如清单5所示。
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页面。
This array is passed to the writer object to be written into the CSV file.
这个数组传递到写入器对象以便写入CSV文件。
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.
要访问以类的形式存储在数组中的内容库对象,对象必须转换为它自己的类。
It takes a function as its parameter and applies the function sequentially to each object in the Array.
它使用一个函数作为它的参数,然后依次将这个函数应用到Array中的每个对象中。
This code creates a new XML Document Object Model (DOM), then adds all of the data in the $items array to it.
这段代码创建了一个新的XML文档对象模型(Document Object Model ,DOM),然后将 $items数组中的所有数据都保存到这个模型中。
You then add that new post to the persisted blog array object.
之后,可以将新的post添加到持久化的blog数组对象。
This call applies only to that particular post object, not the entire @posts array.
这个调用只应用于该特定的post对象,而不是整个 @posts数组。
If a client of this object were to access the items array directly, that access would be denied because the array is marked private.
如果这个对象的使用者都要直接访问项阵列,访问将被拒绝,因为该阵列被标记为private。
It USES the SimpleXML module to read and parse the XML configuration file into a PHP object, and then creates an associative array mapping each defined chain to its name for easy lookup.
它使用SimpleXML模块读取XML配置文件,并将其解析为php对象,然后,创建一个关联数组,将每个定义的链映射到其名称,以便于查找。
The process itself uses another preprovided class called Alternative, to whose constructor these guard objects must be passed in as an object array.
进程本身使用另一个预先提供的类,叫作Alternative,这些警卫对象必须以对象数组的形式传递给它的构造函数。
Map: a map is an associative array from a set of object keys to a collection of object values.
map型:map是一个从一组键值对象到一组值对象的关联数组。
This does not apply to the comma separator, which is used in object literals, array literals, var statements, and parameter lists.
这不包括那些被用在对象定义,数组定义,var语句,和参数列表中的逗号分隔符。
The sample code USES a utility class EtagComputeUtils to generate a byte array representation of an object and to handle the MD 5 digest logic.
下面的例子使用了一个工具类etagcomputeutils来产生对象所对应的字节数组,并处理MD5摘要逻辑。
Because the Twitter data is an array of objects, it makes sense to parse the entire string into an array and then access the object individually by ordinal position.
因为Twitter数据是一个对象数组,整体解析成一个数组然后按顺序逐个访问对象是明智的选择。
An additional asList method for converting an Object array to a List is still available.
用于将Object数组转换成List的附加aslist方法仍然有用。
It converts the object to a byte array (Listing 3), breaks the array into smaller arrays (Listing 5), and then writes the pieces to the Preferences API.
它将对象转换为字节数组(清单3)、将数组分解为更小的数组(清单5)、然后将片段写入PreferencesAPI。
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类的构造函数的参数实际值的对象数组。
SimpleXML extension: Explore the SimpleXML toolset that converts XML to an object for you to process with normal property selectors and array iterators.
SimpleXML扩展:探索 SimpleXML工具集,它将XML转换成对象,从而允许通过一般的属性选择符和数组迭代器进行处理。
There are two constructors; one is used to serialize a MIDI ShortMessage object into a byte array whilst the second is used to deserialize a byte array and topic into a MIDI ShortMessage.
其中有两个构造器:一个用于将MIDIShortMessage对象串行输入到字节阵列,而第二个用来将字节阵列和主题反序列化到MIDI ShortMessage中。
We have created an array object to store our results information in a format that json_encode could read and convert to a json string.
我们已经创建了一个数组对象来存储json_encode可以读取和转换为json字符串格式的结果信息。
I'll create an object, set its values, then add it to the array, and so on.
它也是先创建一个对象,设置其值,然后将它添加到数组,等等。
The above module showed how to add people resolution to your human task using expressions and multiple input values, which USES a business object variable with array inputs.
上述模块显示了如何使用表达式和多个输入值添加人员解析到您的人工任务,使用一个含有数组输入的业务对象变量。
The first trick is to turn an object into a byte array.
第一个技巧是将对象转变为一个字节数组。
The first trick is to turn an object into a byte array.
第一个技巧是将对象转变为一个字节数组。
应用推荐