在screen . h中,添加函数定义。
设计要向其添加函数的查询。
添加函数就像将新类添加到任何其他项目类型一样。
Adding a function is just like adding a new class to any other project type.
您可以执行多个函数,如添加自定义代码或调用关系映射。
You can perform several functions, such as add custom code or invoke relationship mapping.
每次调用函数时,您都将一个新条目添加到该数组中。
Each time a function is invoked, you add a new entry to this array.
这个函数只是添加一个说明性字符串到日志文件。
This function simply adds the Monitoring started. string to the log file.
这些函数允许从页面元素添加和删除类。
These functions allow you to add and remove classes from page elements.
代码的第二个添加涉及一个回调函数的注册。
The second addition to the code concerns the registration of a callback function.
清单4演示了添加问题报告的完整函数。
Listing 4 illustrates the complete function to add a problem report.
在这个程序中,我们添加了另一个用于错误处理的函数。
In this program, we add another function for error handling.
通过定义新的函数,您可以向表添加新的列。
You can add a new column to the table by defining a new function.
要添加更多的提要,可多次调用该函数。
To add more feeds, you can call the function multiple times.
新方法则被添加到包含所有函数的局部类。
The new method is added to the partial class that contains all of your functions.
添加新函数。
在此目录下,添加名为function .xml的函数模型文件,该文件包含以下内容。
Under this directory, add the function model file named function.xml, with the contain the following content.
通过调用help方法,向定制函数添加帮助。
Add help to your custom function by calling the help method.
第 8步:添加另一个原生函数
接下来,使用jQuery向每个新图像“按钮”添加一个函数。
Next, you use jQuery to add a function to each of your new image "buttons."
为此,需要再将一个函数添加到functions . php文件中,并在主页上使用它。
For that, you need to add a second function to the functions.php file and use it on your home page.
将回调函数添加到Sajax函数调用中,就可以得到头(head)。
生成的代码将添加ajax - Call头部,它的值就是函数的签名。
The generated code will add the Ajax-Call header, whose value is the function's signature.
在screen . h中添加以下函数定义。
build _ match_number是要添加的最后一个函数。
为此,向Student控制器添加一个create函数,如清单7所示。
To do so, add a create function to the Student controller, shown in Listing 7.
只需将代码textDiv.contentEditable="true";添加到函数的末尾。
Simply add the code textDiv.contentEditable="true"; to the bottom of the function.
现在,将 follow_user()和 unfollow_user()函数添加到functions.php 中。
Right now, it's time to add the follow_user() and unfollow_user() functions to functions.php.
在类中添加一个简单的构造函数,如清单2中的构造函数。
Add a simple constructor to the class, such as the constructor in Listing 2.
接下来,在第209行中添加这些函数定义。
您仅需要添加一个回调函数。
主要的注意点是添加了一个显式构造函数。
The main thing to notice is that you have added an explicit constructor.
应用推荐