Namespaces | Functions

cms/modules/form/editform.php File Reference

Go to the source code of this file.

Namespaces

namespace  pragyan
 

Widget Framework for Pragyan CMS (c) 2010 Pragyan Team http://www.gnu.org/licenses/ GNU Public License For more details, see README Add support for File Upload/Download via the widget's configurations Reload Widgets ,Get Widget Instances. see bottom.


Functions

 generateFormDescBody ($moduleCompId, $action= 'editform')
 generateFormElementDescBody ($moduleCompId, $action= 'editform')
 moveFormElement ($moduleCompId, $subaction, $elementId)
 deleteFormElement ($moduleCompId, $elementId)
 addDefaultFormElement ($moduleCompId)

Function Documentation

addDefaultFormElement ( moduleCompId  ) 

Adds an empty form element

Definition at line 369 of file editform.php.

deleteFormElement ( moduleCompId,
elementId 
)

Also take care to remove all data associated with that particular element. Make sure alert box warning is given on clicking delete button

Definition at line 349 of file editform.php.

generateFormDescBody ( moduleCompId,
action = 'editform' 
)

SERVER SIDE UPDATION CODE

Form desc : Getting data

Form Desc Generating content

Definition at line 20 of file editform.php.

generateFormElementDescBody ( moduleCompId,
action = 'editform' 
)

Definition at line 263 of file editform.php.

moveFormElement ( moduleCompId,
subaction,
elementId 
)

Definition at line 305 of file editform.php.