Comments: on this page. Click to read or post your own.

Class UserDefinedForm

Description

Page type that lets users build a contact form.

Located in /cms/code/PageTypes/UserDefinedForm.php (line 7)

Page
   |
   --UserDefinedForm
Variable Summary
static mixed $add_action
static mixed $db
static mixed $defaults
static mixed $has_many
static mixed $icon
static mixed $need_permission
mixed $fields
Method Summary
void customFormActions ([ $isReadonly = false])
void delete ()
void duplicate ()
void filter ( $data,  $form)
void FilterForm ()
void getCMSFields ( $cms)
Variables
static mixed $add_action = "a contact form" (line 8)
static mixed $db = array(
"EmailTo" => "Varchar",
"EmailOnSubmit" => "Boolean",
"SubmitButtonText" => "Varchar",
"OnCompleteMessage" => "HTMLText"
)
(line 19)
static mixed $defaults = array(
"OnCompleteMessage" => "<p>Thanks, we've received your submission.</p>",
)
(line 26)
static mixed $has_many = array(
"Fields" => "EditableFormField",
"Submissions" => "SubmittedForm"
)
(line 30)
static mixed $icon = "cms/images/treeicons/task" (line 10)
static mixed $need_permission = 'ADMIN' (line 17)
mixed $fields (line 35)
  • access: protected
Methods
customFormActions (line 137)
  • access: public
void customFormActions ([ $isReadonly = false])
  • $isReadonly
delete (line 129)
void delete ()
duplicate (line 145)

Duplicate this UserDefinedForm page, and its form fields.

Submissions, on the other hand, won't be duplicated.

  • access: public
void duplicate ()
filter (line 68)

Filter the submissions by the given criteria

void filter ( $data,  $form)
  • $data
  • $form
FilterForm (line 47)
void FilterForm ()
getCMSFields (line 37)
void getCMSFields ( $cms)
  • $cms
ReportFilterForm (line 125)
void ReportFilterForm ()
blog comments powered by Disqus

Documentation generated on Mon, 29 Sep 2008 06:47:39 +1300 by phpDocumentor 1.3.2