Otherwise, the helper function simply returns.
否则,助手函数就简单返回。
Listing 4 shows the PHP code for this helper function.
清单4显示了这个helper函数的php代码。
In order to provide the input to this viewer, create a helper function.
为了给这个视图提供输入,需要创建一个helper函数。
Many of the key base classes also picked some frequently requested helper function.
很多关键的基类也挑选了一些被大家经常要求的辅助函数予以实现。
A helper function is created to add each line to the display as shown in listing 4.
创建一个helper函数,用于向显示添加每一行,如清单4所示。
Then, to pass the result back, you can use a JNI helper function called NewStringUTF .
然后,为了传回结果,你可以使用一个叫作newstringutf的JNIhelper函数。
This helper function simplifies the addition of a node to the document, as shown in Listing 4.
此助手函数简化了将一个节点添加到文档中的步骤,如清单4所示。
This helper function simplifies the addition of a node to the document, as shown in Listing 4.
这个助手函数简化了文档节点的添加,如清单4所示。
The only difference here is that the helper function performs the setup and exec functions.
此处惟一的区别是helper函数执行setup和exec函数。
You created this helper function because there are two scripts that use it; the first is a moves.php.
创建这个helper函数的原因是有两个脚本将会用到它。
If not, define a helper function that you can use to handle sorting on each of the columns of the table.
如果不是,定义一个帮助函数,您可以用来在表的每一列上进行分类。
This helper function creates the label, the input field, and the Set button for each property/action pair.
这个helper函数为每个属性/值对创建了标签、输入字段和Set按钮。
We created a simple helper function to support using the XMLHttpRequest object to invoke services using E4X.
我们创建了一个简单的辅助函数,以支持使用XMLHttpRequest对象来调用使用E4X 的服务。
Create a new helper function in your utility class that takes care of the necessary parsing (see Listing 14).
在您的有效类中创建一个有利于必要解析工作的新的助手功能。(请看列表14)。
When the page is loaded, the data is displayed through the help of jQuery and a helper function in the netmon.js file.
当页面加载时,数据的显示通过jQuery以及netmon.js文件的一个helper函数实现。
A helper function in app/helpers/pages_helper.rb does the heavy lifting, keeping the view minimal (see Listing 12).
由app/helpers/pages_helper.rb 中的 helper函数来完成这一工作,从而保持视图的最小化(请参阅清单 12)。
In this application, you set up a helper function, and this routine relies on the ICONS that the Domino server provides.
在此应用程序中,您设置了一个helper函数,此例程依赖于Domino服务器提供的图标。
This script starts by including the helper function and connecting to the database. It then executes two SQL statements.
此脚本首先包含helper函数并连接数据库,然后执行两条sql语句。
The results indicate that the amino acid located at position 96 of measles virus HA is closely related with its fusion helper function.
提示HA蛋白96位氨基酸是影响助融合活性的一个重要氨基酸。
Within the loop, we extract the value for the iterated key, and then we attempt to set that value into the bean through reflection, using the helper function defined in the PBHandler class.
在循环内部,我们为遍历到的键提取值,然后使用在PBHandler中定义的helper函数通过反射将该值放置到bean中。
To make it easier on yourself, first create a helper function called build_answers that, when given a database handle and a poll ID, outputs the XML for all the answers to that poll (see Listing 4).
为了简单起见,首先创建一个名为build_answers的helper函数,当给定一个数据库句柄或调查ID后,该函数会输出该调查所有答案的XML(参见清单4)。
Note that it is necessary to use a helper multiply function.
注意我们很有必要使用一个辅助乘法函数。
This function is part of the CodeIgniter form Helper and is a quick way to generate the HTML needed for most forms.
该函数是CodeIgniter FormHelper的一部分,也是生成大多数表单所需的HTML的一种十分快捷的方式。
And, because every function in the Student controller touches the template view, you need to load the URL Helper as part of the Student constructor (see Listing 14).
并且,由于Student控制器内的每个函数都会接触到模板视图,所以需要加载urlHelper,作为Student构造函数的一部分(参见清单14)。
Notice that to use the redirect() function, you must load the URL Helper.
请注意,要使用redirect()函数,必须载入URL帮助程序。
You should also remove it from the create function so you don't load the Helper file twice.
此外还应该从create函数删除它以避免两次加载helper文件。
This code USES the anchor function shortcut, part of CodeIgniter's URL Helper file.
此代码使用了anchor函数shortcut,它也是CodeIgniter的URLHelper文件的一部分。
Finally, it redirects the user back to the student_add.php page using the redirect function that is part of the URL Helper file.
最后,它会使用redirect函数(URLHelper文件的一部分)将用户重定向回student_add . php页面。
Notice that this function loads the CodeIgniter Form Helper to be used by the student_add.php view.
请注意,此函数加载CodeIgniter FormHelper以供student_add . php视图所用。
The final bean is a helper class that provides common function to add a contact and to delete a contact.
最后一个bean是帮助程序类,它提供了添加联系人和删除联系人的共同的函数。
应用推荐