Squiz Matrix  4.12.2
 All Data Structures Namespaces Functions Variables Pages
Form_Section_Edit_Fns Class Reference
Inheritance diagram for Form_Section_Edit_Fns:
Asset_Edit_Fns MySource_Object

Public Member Functions

 Form_Section_Edit_Fns ()
 
 paintQuestionLinks (&$asset, &$o, $prefix)
 
 processQuestionLinks (&$asset, &$o, $prefix)
 
 paintAddQuestions (&$asset, &$o, $prefix)
 
 processAddQuestions (&$asset, &$o, $prefix)
 
 paintNestedSections (Form_Section $asset, Backend_Outputter $o, $prefix)
 
 processNestedSections (Form_Section $asset, Backend_Outputter $o, $prefix)
 
 paintUseBodycopy (&$asset, &$o, $prefix)
 
 processUseBodycopy (&$asset, &$o, $prefix)
 
 paintAddNestedSection (Form_Section $asset, Backend_Outputter $o, $prefix)
 
 processAddNestedSection (Form_Section $asset, Backend_Outputter $o, $prefix)
 
 generateContentFile (&$asset)
 
 generateGenericSection (&$asset)
 
 paintAllActions (Form_Section $asset, Backend_Outputter $o, $prefix)
 
 processAllActions (Form_Section $asset, Backend_Outputter $o, $prefix)
 
 paintNewAction (Form_Section $asset, Backend_Outputter $o, $prefix)
 
 processNewAction (Form_Section $asset, Backend_Outputter $o, $prefix)
 
 paintSelectedAction (Form_Section $asset, Backend_Outputter $o, $prefix)
 
 processSelectedAction (Form_Section $asset, Backend_Outputter $o, $prefix)
 
- Public Member Functions inherited from Asset_Edit_Fns
 Asset_Edit_Fns ()
 
 paintPaths (&$asset, &$o, $prefix)
 
 paintEditRemapURLs (&$asset, &$o, $prefix)
 
 processPaths (&$asset, &$o, $prefix)
 
 processEditRemapURLs (&$asset, &$o, $prefix)
 
 paintURLs (&$asset, &$o, $prefix)
 
 paintAddRemapURLs (&$asset, &$o, $prefix)
 
 processAddRemapURLs (&$asset, &$o, $prefix)
 
 isWorkflowComplete (&$asset)
 
 paintNoticeLinkedAsset (&$asset, $link_value, $type_codes=Array(), $field_name='', $multiple=FALSE)
 
 processNoticeLinkedAsset (&$asset, $link_value, $field_name='', $multiple=FALSE)
 
 isSearchInstalled (&$asset, $prefix)
 
 isBeingCreated (&$asset)
 
 isNotBeingCreated (&$asset)
 
 paintAutomaticRemapSetting (&$asset, &$o, $prefix)
 
 paintCreateLink (&$asset, &$o, $prefix)
 
- Public Member Functions inherited from MySource_Object
 MySource_Object ()
 
 __sleep ()
 
 __wakeup ()
 

Protected Member Functions

 _makeValidActionName (Form_Section $asset, $base_name)
 

Additional Inherited Members

- Data Fields inherited from Asset_Edit_Fns
 $static_screens
 

Detailed Description

Definition at line 32 of file form_section_edit_fns.inc.

Member Function Documentation

_makeValidActionName ( Form_Section  $asset,
  $base_name 
)
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.

Parameters
Form_Section$assetThe form section whose interface we are painting
string$base_nameBase name to use
Returns
boolean

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

Parameters
object&$assetthe section asset
Returns
boolean public

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

Parameters
object&$assetthe section asset
Returns
string public

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

Parameters
Form_Section$assetThe section object being painted
Backend_Outputter$oThe backend outputter class
string$prefixPrefix for backend form elements
Returns
boolean public

Definition at line 493 of file form_section_edit_fns.inc.

paintAddQuestions ( $asset,
$o,
  $prefix 
)

Paint the dropdowns to add questions to this section

Parameters
object&$assetthe asset whose interface we are painting
object&$othe outputter class
string$prefixprefix for the form elements
Returns
boolean public

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

Parameters
Form_Section$assetThe form section whose interface we are painting
Backend_Outputter$othe outputter class
string$prefixprefix for form section elements
Returns
boolean

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

Parameters
Form_Section$assetThe section object being painted
Backend_Outputter$oThe backend outputter class
string$prefixPrefix for backend form elements
Returns
boolean public

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

Parameters
Form_Section$assetThe form section whose interface we are painting
Backend_Outputter$othe outputter class
string$prefixprefix for form section elements
Returns
boolean

Definition at line 835 of file form_section_edit_fns.inc.

paintQuestionLinks ( $asset,
$o,
  $prefix 
)

Paint the links to the questions in this section

Parameters
object&$assetthe asset whose interface we are painting
object&$othe outputter class
string$prefixprefix for the form elements
Returns
boolean public

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

Parameters
Form_Section$assetThe form section whose interface we are painting
Backend_Outputter$othe outputter class
string$prefixprefix for form section elements
Returns
boolean

Definition at line 940 of file form_section_edit_fns.inc.

paintUseBodycopy ( $asset,
$o,
  $prefix 
)

Paint "Customise Format" section

Parameters
object&$assetthe asset whose interface we are painting
object&$othe outputter class
string$prefixprefix for the form elements
Returns
boolean public

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

Parameters
Form_Section$assetThe section object being painted
Backend_Outputter$oThe backend outputter class
string$prefixPrefix for backend form elements
Returns
boolean public

Definition at line 516 of file form_section_edit_fns.inc.

processAddQuestions ( $asset,
$o,
  $prefix 
)

Process the newly added questions

Parameters
object&$assetthe asset whose interface we are painting
object&$othe outputter class
string$prefixprefix for the form elements
Returns
boolean public

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

Parameters
Form_Section$assetThe form section whose interface we are processing
Backend_Outputter$othe outputter class
string$prefixprefix for form section elements
Returns
boolean

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...

Parameters
Form_Section$assetThe section object being processed
Backend_Outputter$oThe backend outputter class
string$prefixPrefix for backend form elements
Returns
boolean public

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

Parameters
Form_Section$assetThe form section whose interface we are processing
Backend_Outputter$othe outputter class
string$prefixprefix for form section elements
Returns
boolean

Definition at line 873 of file form_section_edit_fns.inc.

processQuestionLinks ( $asset,
$o,
  $prefix 
)

Process the links to the questions in this section

Parameters
object&$assetthe asset whose interface we are painting
object&$othe outputter class
string$prefixprefix for the form elements
Returns
boolean public

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

Parameters
Form_Section$assetThe form section whose interface we are painting
Backend_Outputter$othe outputter class
string$prefixprefix for form section elements
Returns
boolean

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

Parameters
object&$assetthe asset whose interface we are painting
object&$othe outputter class
string$prefixprefix for the form elements
Returns
boolean public

Definition at line 461 of file form_section_edit_fns.inc.


The documentation for this class was generated from the following file: