Under this directory, add the function model file named function.xml, with the contain the following content.
在此目录下,添加名为function .xml的函数模型文件,该文件包含以下内容。
The authorize.tag file (see Listing 14) has two attributes (named function and script) whose values are passed to the add method of AuthorizedCalls.
tag文件(见清单14)有两个属性(function和script),这两个属性的值被传递到Authorized Calls的add方法。
Whenever you define a named function, your reader attempts to put that function name in his or her brain cache, which needlessly complicates the reader's understanding of the program.
在您定义有名称的函数时,您的读者会企图将函数名输入到他/她的记忆中,这没有必要复杂化读者对程序的理解。
Named and variadic parameters can be used in the same function, simply by placing the variadic ellipsis after the list of named parameters.
可以在同一个函数中同时使用命名参数和可变参数,只需要将可变参数的省略号放在命名参数列表之后。
This function is very useful, but also very badly named.
这个函数十分有用,但是它的命名非常糟糕。
In an application supporting globalization, you often have a function named select language, which displays a different language on the user interface according to a user's selection.
在支持全球化的应用程序中,通常有一个功能叫做选择语言,它将根据用户的选择在用户界面上显示不同的语言。
The callback function can read the records that were saved in named memory (7) and write each record to a file (8).
回调函数可以读取保存在已命名内存中的记录(7)并将每条记录写入一个文件(8)。
If you prefer to use numbered groups instead of named groups, this function will still work for you.
如果您喜欢用编号组而非命名组,则此函数仍然有效。
AS in the previous transactions, most of the logic is encapsulated into a table function named PAY_C_LAST .
与前面的事务一样,这里的大部分逻辑被封装到一个名为PAY_C_LAST的表函数中。
In the example, the XForms instance function indicates that all data in the named instance is constrained.
在这个示例中,XFormsinstance函数指出命名的实例中的所有数据都受到约束。
Function#argumentNames returns an array of strings representing the function's named arguments
Function#argumentNames返回一个字符串数组,它代表函数的命名参数
The generic function itself must be named in the decorators to specialization and in the ultimate call that gets dispatched.
通用函数本身必须使用decorator进行命名来表示自己的独特性,并在最终会被分派的调用中使用。
In the following example, we have moved the formerly raw HTML into a function of its own named print_html , which is called as the only executed statement within the PHP program.
在下面的例子中,我将前面的原始html移入它自己命名的print_html函数中,这个函数是php程序中惟一调用的执行语句。
An equally important principle is that everything is a function; that is to say, in this particular case, there is no distinction between a function named add and a function named +.
另一个同样重要的原则是,一切都是函数;也就是说,在此处,命名为add的函数与命名为+的函数没有区别。
It contains only one property, named mouseover, whose value is a function.
它只包含一个属性mouseover,其值是一个函数。
You extend the protocol to new types, using a function named extend.
使用名为extend 的函数,您可将协议扩展到新的类型。
Create a function named set_color to allow users to test background and foreground text colors.
创建一个名为set _ color的函数来允许用户测试背景和前景文本颜色。
The first block of code is obviously a function declaration, defining a function named ToggleSyntax , which takes no arguments.
显然,第一个代码块是一个函数声明,定义了名为ToggleSyntax的函数,它没有包含任何参数。
In pseudo, the address returned for dlsym (RTLD_NEXT, "open") is stored in a function pointer named real_open .
在pseudo中,为dlsym (RTLD_NEXT,“open ”)返回的地址储存在名为real_open的函数指针中。
Entries for the two buttons are added to the function named Scene_Actions.
这两个按钮的条目被添加到名为scene_actions的函数中。
However, the script library RunOnServerCall in the sample database contains a reusable function named GetParameterDoc that performs this task for you.
不过,示例数据库中的脚本库runonservercall包含了一个名为GetParameterDoc的可复用函数,它可以替您执行这个任务。
As shown in Listing 8, the feed aggregator component has one function named aggregate_rss_feeds.
如清单8中所示,提要聚合器组件有一个名为aggregate_rss_feeds的函数。
This additional power was simple to include in the function: You provide input parameters named nrows and ncols that allow the size of The Times table to be changed when the function is invoked.
为函数添加此附加功能的方法非常简单:提供名为nrows和ncols的两个输入参数,允许在调用函数时更改乘法表的大小。
The onclick handler function named addToCart is responsible for updating the state of the cart through an Ajax call (see Listing 1).
名为addtocart的onclick处理函数负责通过Ajax调用来更新购物车的状态(请参阅清单1)。
Acegi provides an authenticator class named org.acegisecurity.providers.ldap.authenticator.BindAuthenticator, which performs the required function of checking the username and password of the user.
acegi提供了名为or g . acegisecurity . providers . ldap .authenticator . BindAuthenticator的验证器类,它将执行验证用户名和密码所需的功能。
The puzzle grid is built by the appropriately named build_puzzle function.
字谜网格由相应的名为build _ puzzle的函数来构建。
Listing 6 contains the ScriptDemo.jsp page, which defines a function named link that returns an element.
清单6包含scriptdemo .jsp页面,该页面定义一个名为link的函数,该函数返回元素。
The override function named Initialize is where you can put code to interact with Visual Studio when your package is loaded.
你可以在名为Initialize的重载函数中编写代码,从而在载入你的包时与VisualStudio交互。
Listing 7 demonstrates how this works with a user-defined function named contains.
清单7用一个名为contains的用户定义函数演示了其中的原理。
Listing 7 demonstrates how this works with a user-defined function named contains.
清单7用一个名为contains的用户定义函数演示了其中的原理。
应用推荐