Then I started looping through the .
然后,我开始通过循环。
Listing 17 sets up and starts looping through rows.
清单17做好准备并开始循环通过行元素。
Looping through ancestors, subcategories, and products using py: for.
使用py:for遍历祖先、子分类和产品。
A future refinement of this code should consider looping through those values.
此代码的未来改进中应考虑遍历这些值。
This isn't a problem until you consider how we've been looping through the record store.
如果不去考虑我们是如何遍历记录存储的,那么这不会是一个问题。
The iterator pattern provides a way to encapsulate looping through a collection or array of objects.
迭代器模式将提供一种通过对象集合或对象数组封装迭代的方法。
By looping through multiple HTML elements, you can quickly and cleanly apply behaviors to each one.
通过遍历多个HTML元素,可以快速、清晰地将行为应用于每个元素。
But looping through lists, performing operations on each element, sounds like a really common thing.
但是遍历清单,在每个元素上执行操作,听起来比较平常。
Start by changing the single query to two queries, with the outside query looping through each user see Listing 6.
首先将单个的查询变为两个查询,用outside查询在每个用户间进行循环。
When an event occurs that affects the stream - for example, if more data comes in - you continue looping through the stream.
当发生影响流的事件时—例如,进入更多的数据—您将继续遍历流。
view accessing the Active Record Trail model and looping through each trail in @trails with the <% for trail in @trails %> command.
您可以看到访问活动记录Trail模型并用 <%for trail in @trails %>命令在 @trails 中的每条路线上循环的 list.rhtml视图。
Similarly, looping through a dict lazily used to require the.iterkeys method; now it is just the default for key in DCT behavior.
同样,过去要实现dict的惰性循环遍历需要使用.iterkeys方法;现在,它是默认的forkeyindct行为。
You're looping through every checkbox on the page and seeing if it's current "checked" status is the same as the "select/deselect all" checkbox.
您将遍历页面上的每个复选框,看看它们当前的 “checked”状态是否与 “select/deselect all” 复选框一致。
There's nothing special in the following code, just that we're looping through the month names, instead of just passing in a Map to the constructor.
下面的代码并没有什么特别之处,只是我们要循环遍历月份名称,而不是只向构造函数传递一个Map 。
Incorporating enumeration into your code is as easy as creating a RecordEnumeration object from an open record store and looping through each record.
为代码添加枚举功能非常简单,只需在一个打开的记录存储上创建一个RecordEnumeration对象并遍历所有记录即可。
You use the library by opening the document and reading the file, followed by looping through each block in the main control block, as shown in Listing 1.
若要使用这个库,可以打开此文档并读取文件,然后依次循环主控制块内的每个块,如清单1所示。
To create the grid, loop through each row, and for each box, create a drop-down list by looping through each of the entry elements in the templates instance.
要创建表格,需要循环遍历每一个row元素,通过遍历templates实例中的每个entry元素为每个box元素创建一个下拉列表。
Looping through HTML collections like this may lead to logic mistakes, but it's also slower, due to the fact that the query needs to run on every iteration (see Figure 3-4).
像这样遍历html集合会导致逻辑错误,而且也很慢,因为每次迭代都进行查询(如图3 - 4)。
Then, for each feed, you import the feed, looping through each of its items to see if any were posted after the last time the user read the feed, as defined by the lastpulled column.
然后,对于每一个提要,我们导入提要,在每个条目间进行循环,从而找到在用户最后一次阅读提要后是否有新的文章发表,就像lastpulled列中定义的那样。
Listing 5 demonstrates a common situation where such a thing might happen: looping through all posts and displaying an author image, where the author has a belongs_to relationship with image.
清单5展示了这样一个常见的情形:循环遍历所有的post并显示作者的图像,其中Author与Image是belongs _ to的关系。
The standard PHP looping structures can loop through a QueryPath object's selected elements.
标准的PHP循环结构可以遍历 QueryPath对象选择的元素。
For our purposes, this is all we need, as we will be "looping back" any incoming message after passing it through the custom mediation.
考虑到我们的目的,这正是我们所需要的,因为我们在把传入的消息传递到自定义中介后,将“循环回到”任何传入的消息。
Looping Britney Spears' lyrics through her brain?
她的脑袋里转着布兰妮的歌词?
Turn the page, and that sibilant sound can be traced to a snake looping its way through a lush tropical wilderness.
翻开新的一页,而且咝声可以追溯到蛇循环的方法是通过郁郁葱葱的热带荒野。
Girth hitch - a simple knot made with a runner or sling by wrapping it around a fixed object and looping it through itself.
Girthhitch-双环结。一种简单的绳结,使用扁带或绳套缠绕在固定物体上,扁带或绳套再自己以圈连接。
Girth hitch - a simple knot made with a runner or sling by wrapping it around a fixed object and looping it through itself.
Girthhitch-双环结。一种简单的绳结,使用扁带或绳套缠绕在固定物体上,扁带或绳套再自己以圈连接。
应用推荐