Form class - list of available Form objects?
I'm getting into developing a plugin for Vanilla, and so far on the documentation I can't find a list of objects that one can generate through Form->{...} (a few seem to be label and textBox). Is there a list documented somewhere?
Tagged:
0
Best Answer
-
R_J
Admin
I would advise to use an IDE for developing. Otherwise just open https://github.com/vanilla/vanilla/blob/release/2.2/library/core/class.form.php and look at the available methods.
Download many plugins and when in doubt, use them as a reference on how to use the methods.
2
Answers
I would advise to use an IDE for developing. Otherwise just open https://github.com/vanilla/vanilla/blob/release/2.2/library/core/class.form.php and look at the available methods.
Download many plugins and when in doubt, use them as a reference on how to use the methods.
I guess I never thought to use more than Notepad++, but I suppose I could really use any sort of intelligent analysis engine. Would pretty much any standard PHP IDE out there do?
Sure. I use NetBeans from time to time, because it's free.
You will also have the benefit that you could debug and thus get a better understanding of how things work
I second NetBeans as a good open source php ide.
I use netbeans as well, others use Phpstorm as well
https://vanillaforums.org/discussion/comment/214489/#Comment_214489
http://docs.vanillaforums.com/developers/tools/