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

Public Member Functions

 Trigger_Edit_Fns ()
 
 paintEvents (&$asset, &$o, $prefix)
 
 processEvents (&$asset, &$o, $prefix)
 
 paintConditions (&$asset, &$o, $prefix)
 
 processConditions (&$asset, &$o, $prefix)
 
 _processRawConditionSet (&$tm, $raw_components)
 
 paintActions (&$asset, &$o, $prefix)
 
 processActions (&$asset, &$o, $prefix)
 
 _processRawActionSet (&$tm, $raw_components)
 
_getTriggerManager (&$asset)
 
- 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 ()
 

Additional Inherited Members

- Data Fields inherited from Asset_Edit_Fns
 $static_screens
 

Detailed Description

Definition at line 29 of file trigger_edit_fns.inc.

Member Function Documentation

& _getTriggerManager ( $asset)

Gets the trigger manager for the given asset.

Parameters
object&$assetThe asset to get the trigger manager for
Returns
object private

Definition at line 819 of file trigger_edit_fns.inc.

_processRawActionSet ( $tm,
  $raw_components 
)

Process a set of raw actions

Action settings that were supplied by the interface, plus the newly added one are converted to the form that can be saved and used later

Parameters
object&$tmtrigger manager
array$raw_componentsa list of submitted actions
Returns
array private

Definition at line 768 of file trigger_edit_fns.inc.

_processRawConditionSet ( $tm,
  $raw_components 
)

Process a set of raw conditions

Conditions that were supplied by the interface, plus the newly added one

Parameters
object&$tmtrigger manager
array$raw_componentsa list of submitted conditions
Returns
array private

Definition at line 547 of file trigger_edit_fns.inc.

paintActions ( $asset,
$o,
  $prefix 
)

Paint the trigger action interface

Parameters
object&$assettrigger
object&$othe outputter class
string$prefixprefix for the form elements
Returns
boolean private

Definition at line 599 of file trigger_edit_fns.inc.

paintConditions ( $asset,
$o,
  $prefix 
)

Prints interface for input of trigger conditions

Parameters
object&$assettrigger
object&$othe outputter class
string$prefixprefix for the form elements
Returns
boolean private

Definition at line 359 of file trigger_edit_fns.inc.

paintEvents ( $asset,
$o,
  $prefix 
)

Paints the edit interface for selecting/displaying a list of events

Parameters
object&$assettrigger
object&$othe outputter class
string$prefixprefix for the form elements
Returns
boolean private

Moves a div up (if possible) relative to the div with the same class name

Moves a div down

Deletes a div, with a confirmation box

Object that handles the ordering of elements. Used for accounting purposes only, i.e does not move any objects around. After initialisation, the methods of this object are used to record the movement of an element up or down, can also handle the deletion of an element. After each operation the field identified by field_id is updated to contain a list of ids of elements, ordered properly.

This object is useful because if the elements that get moved around contain forms, some browsers get confused and ignore the dynamic order of the elements. It appears that browsers take a snapshot of the form and operate on it, regardless of what modifications the form might undertake by JavaScript

Definition at line 61 of file trigger_edit_fns.inc.

processActions ( $asset,
$o,
  $prefix 
)

Processes the trigger action interface

Parameters
object&$assettrigger
object&$othe outputter class
string$prefixprefix for the form elements
Returns
boolean private

Definition at line 721 of file trigger_edit_fns.inc.

processConditions ( $asset,
$o,
  $prefix 
)

Process the trigger condition interface

Parameters
object&$assettrigger
object&$othe outputter class
string$prefixprefix for the form elements
Returns
boolean private

Definition at line 502 of file trigger_edit_fns.inc.

processEvents ( $asset,
$o,
  $prefix 
)

Process the events section of the editing interface

Parameters
object&$assettrigger
object&$othe outputter class
string$prefixprefix for the form elements
Returns
boolean private

Definition at line 329 of file trigger_edit_fns.inc.

Constructor

Definition at line 37 of file trigger_edit_fns.inc.


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