We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(3)
HTML_QuickForm2 的文档位于 PEAR 手册中:http://pear.php.net/manual/en/package.html.html-quickform2.php
addElement
位于HTML/QuickForm2/Container.php
中。The documentation for HTML_QuickForm2 is in the PEAR manual: http://pear.php.net/manual/en/package.html.html-quickform2.php
addElement
is inHTML/QuickForm2/Container.php
.这里有很多例子(在 Ubuntu 上):
如果你使用的是另一个发行版,你可以这样做:
There is a bunch of examples here (on Ubuntu):
If you are on another distro you can do:
我对 QuickForm 不太熟悉,但谷歌搜索发现了这个页面:
http://pear.php.net/reference/HTML_QuickForm2-latest/li_HTML_QuickForm2.html
我认为您可能会遇到困难,因为您正在寻找的方法for 位于基类中。
例如:
Element
提到它包含Node.php
。Node
有一个addRule
方法(和一个setValue
方法)。addElement
看起来像它在Container
类I'm not too familiar with QuickForm, but a google search found this page:
http://pear.php.net/reference/HTML_QuickForm2-latest/li_HTML_QuickForm2.html
I think you're possibly struggling because the methods you're looking for are in the base classes.
For example:
Element
mentions that it IncludesNode.php
.Node
has anaddRule
method (and asetValue
one).addElement
looks like its in theContainer
class