Squiz Matrix
4.12.2
|
Protected Member Functions | |
_makeValidActionName (Form_Section $asset, $base_name) | |
Additional Inherited Members | |
Data Fields inherited from Asset_Edit_Fns | |
$static_screens | |
Definition at line 32 of file form_section_edit_fns.inc.
|
protected |
Make an action name valid by adding a numeric index to it if a duplicate
Returns the base name if no duplicate name is found, or tries "Base Name 2", "Base Name 3", and so on, until a unique name is found, and returns the first unique name it finds.
Form_Section | $asset | The form section whose interface we are painting |
string | $base_name | Base name to use |
Definition at line 1071 of file form_section_edit_fns.inc.
Constructor
Definition at line 40 of file form_section_edit_fns.inc.
generateContentFile | ( | & | $asset | ) |
generates a php file for this form to be used on the frontend for a standard Form
object | &$asset | the section asset |
Definition at line 569 of file form_section_edit_fns.inc.
generateGenericSection | ( | & | $asset | ) |
generates a generic section where there is no main or looping bodycopy
object | &$asset | the section asset |
Definition at line 622 of file form_section_edit_fns.inc.
paintAddNestedSection | ( | Form_Section | $asset, |
Backend_Outputter | $o, | ||
$prefix | |||
) |
Paint the interface for creating one or more new nested sections
Form_Section | $asset | The section object being painted |
Backend_Outputter | $o | The backend outputter class |
string | $prefix | Prefix for backend form elements |
Definition at line 493 of file form_section_edit_fns.inc.
paintAddQuestions | ( | & | $asset, |
& | $o, | ||
$prefix | |||
) |
Paint the dropdowns to add questions to this section
object | &$asset | the asset whose interface we are painting |
object | &$o | the outputter class |
string | $prefix | prefix for the form elements |
Definition at line 299 of file form_section_edit_fns.inc.
paintAllActions | ( | Form_Section | $asset, |
Backend_Outputter | $o, | ||
$prefix | |||
) |
Paints the interface for printing all existing actions
Form_Section | $asset | The form section whose interface we are painting |
Backend_Outputter | $o | the outputter class |
string | $prefix | prefix for form section elements |
Definition at line 688 of file form_section_edit_fns.inc.
paintNestedSections | ( | Form_Section | $asset, |
Backend_Outputter | $o, | ||
$prefix | |||
) |
Paint the interface for handling nested sections
Form_Section | $asset | The section object being painted |
Backend_Outputter | $o | The backend outputter class |
string | $prefix | Prefix for backend form elements |
Definition at line 378 of file form_section_edit_fns.inc.
paintNewAction | ( | Form_Section | $asset, |
Backend_Outputter | $o, | ||
$prefix | |||
) |
Paints the interface for creating a new action
Form_Section | $asset | The form section whose interface we are painting |
Backend_Outputter | $o | the outputter class |
string | $prefix | prefix for form section elements |
Definition at line 835 of file form_section_edit_fns.inc.
paintQuestionLinks | ( | & | $asset, |
& | $o, | ||
$prefix | |||
) |
Paint the links to the questions in this section
object | &$asset | the asset whose interface we are painting |
object | &$o | the outputter class |
string | $prefix | prefix for the form elements |
Definition at line 58 of file form_section_edit_fns.inc.
paintSelectedAction | ( | Form_Section | $asset, |
Backend_Outputter | $o, | ||
$prefix | |||
) |
Paints the interface for the selected submission action
Form_Section | $asset | The form section whose interface we are painting |
Backend_Outputter | $o | the outputter class |
string | $prefix | prefix for form section elements |
Definition at line 940 of file form_section_edit_fns.inc.
paintUseBodycopy | ( | & | $asset, |
& | $o, | ||
$prefix | |||
) |
Paint "Customise Format" section
object | &$asset | the asset whose interface we are painting |
object | &$o | the outputter class |
string | $prefix | prefix for the form elements |
Definition at line 427 of file form_section_edit_fns.inc.
processAddNestedSection | ( | Form_Section | $asset, |
Backend_Outputter | $o, | ||
$prefix | |||
) |
Process the interface for creating one or more new nested sections
Form_Section | $asset | The section object being painted |
Backend_Outputter | $o | The backend outputter class |
string | $prefix | Prefix for backend form elements |
Definition at line 516 of file form_section_edit_fns.inc.
processAddQuestions | ( | & | $asset, |
& | $o, | ||
$prefix | |||
) |
Process the newly added questions
object | &$asset | the asset whose interface we are painting |
object | &$o | the outputter class |
string | $prefix | prefix for the form elements |
Definition at line 337 of file form_section_edit_fns.inc.
processAllActions | ( | Form_Section | $asset, |
Backend_Outputter | $o, | ||
$prefix | |||
) |
Performs processing for the actions table
Form_Section | $asset | The form section whose interface we are processing |
Backend_Outputter | $o | the outputter class |
string | $prefix | prefix for form section elements |
Definition at line 777 of file form_section_edit_fns.inc.
processNestedSections | ( | Form_Section | $asset, |
Backend_Outputter | $o, | ||
$prefix | |||
) |
Process the interface for handling nested sections
Nothing to do here, actually...
Form_Section | $asset | The section object being processed |
Backend_Outputter | $o | The backend outputter class |
string | $prefix | Prefix for backend form elements |
Definition at line 410 of file form_section_edit_fns.inc.
processNewAction | ( | Form_Section | $asset, |
Backend_Outputter | $o, | ||
$prefix | |||
) |
Processes the creation of a new action
Form_Section | $asset | The form section whose interface we are processing |
Backend_Outputter | $o | the outputter class |
string | $prefix | prefix for form section elements |
Definition at line 873 of file form_section_edit_fns.inc.
processQuestionLinks | ( | & | $asset, |
& | $o, | ||
$prefix | |||
) |
Process the links to the questions in this section
object | &$asset | the asset whose interface we are painting |
object | &$o | the outputter class |
string | $prefix | prefix for the form elements |
Definition at line 261 of file form_section_edit_fns.inc.
processSelectedAction | ( | Form_Section | $asset, |
Backend_Outputter | $o, | ||
$prefix | |||
) |
Processes the interface for the selected action
Form_Section | $asset | The form section whose interface we are painting |
Backend_Outputter | $o | the outputter class |
string | $prefix | prefix for form section elements |
Definition at line 1005 of file form_section_edit_fns.inc.
processUseBodycopy | ( | & | $asset, |
& | $o, | ||
$prefix | |||
) |
Process the "Customise Format" section, setting or removing the use of a custom format to paint the form section
object | &$asset | the asset whose interface we are painting |
object | &$o | the outputter class |
string | $prefix | prefix for the form elements |
Definition at line 461 of file form_section_edit_fns.inc.