Very simple -- $1 is the first command-line argument to the script, $2 is the second, etc.
很简单 -- $1 是传给脚本的第一个命令行自变量,$2 是第二个,以此类推。
Note that when you try to access an argument of a class member function the actual argument count starts from 2 instead of 1.
注意,在访问类成员函数的参数时,实际的参数编号从 2 而不是从 1 开始。
This handler prevents the default event (submitting the form) from being fired, sets the value of the extra ajax argument to 1, and makes an ajax Request using the original form for the URL and data.
这个处理程序阻止默认事件(提交表单)触发,将额外的ajax参数的值设置为1,使用原始表单发出一个ajax请求以获取URL和数据。
应用推荐