FreePBX API: GUI Elements API

Please note: This is depreciated immediately, and 2.3 will be introducing the new ApiModules2. The PEAR QuickForm is effectively going to replace guielements, but the framework will help out a lot with form processing etc. We also benefit from having a library that's already written and maintained by an existing project, well tested, and (fairly) well documented.


wozto1s .. all yours! I'll start it off though a bit...

functions.inc.php functions

modulename_menuitem_configpageinit($dispnum)

Always called (?) when this item is loaded, regardless of if it's being displayed or just loaded.

modulename_menuitem_configpageload()

Used when the page is displayed to create all the actual elements.

modulename_menuitem_configprocess()

Called when the form is submitted to process it.