Data Structures | Namespaces | Functions | Variables

cms/modules/form.lib.php File Reference

Go to the source code of this file.

Data Structures

class  form

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

 createModule (&$moduleComponentId)
 deleteModule ($moduleComponentId)
 copyModule ($moduleComponentId)

Variables

global $sourceFolder
global $moduleFolder
background color
color __pad0__
</style > CSS
 $report = '<table id="reports"><tbody><tr><td>Form</td><td>No. of registrants</td></tr>'
 $class = 'even'

Function Documentation

copyModule ( moduleComponentId  ) 

insert all new elementdata in the element data table Right now commented coz don't want to copy data

Definition at line 441 of file form.lib.php.

createModule ( &$  moduleComponentId  ) 

Definition at line 407 of file form.lib.php.

deleteModule ( moduleComponentId  ) 

Definition at line 424 of file form.lib.php.


Variable Documentation

$class = 'even'

Definition at line 349 of file form.lib.php.

global $moduleFolder

Definition at line 45 of file form.lib.php.

return $report = '<table id="reports"><tbody><tr><td>Form</td><td>No. of registrants</td></tr>'

Definition at line 348 of file form.lib.php.

global $sourceFolder

Form doesnt have ability to associate or unassociate with a group. That is done through groups.

If it is not associated with a group When associated, copy all regiestered users to groups table -> done by groups Have a function which returns userids of all users registered in a form. * If login required is changed from off to on at any time, then give warning, and delete all anonymous entries.

If loginrequired is turned from on to off, allow only if it is not associted with a group give error msg with the group namem and don't allow him

To put deleteall registrants in edit registrants

TODO: one maintenance script : If user doesn't exist in form_regdata, remove from form_elementdata

Definition at line 44 of file form.lib.php.

Definition at line 344 of file form.lib.php.

background color

Definition at line 344 of file form.lib.php.

</style> CSS

Definition at line 347 of file form.lib.php.