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

Public Member Functions

 __construct ()
 
 paintWorkflowStreams (Workflow_Schema $asset, Backend_Outputter $o, $prefix)
 
 processWorkflowStreams (Workflow_Schema $asset, Backend_Outputter $o, $prefix)
 
 paintNewStep (Workflow_Schema $asset, Backend_Outputter $o, $prefix)
 
 processNewStep (Workflow_Schema $asset, Backend_Outputter $o, $prefix)
 
 paintWorkflowSummary (Workflow_Schema $asset, Backend_Outputter $o, $prefix)
 
 processWorkflowSummary (Workflow_Schema $asset, Backend_Outputter $o, $prefix)
 
 paintSteps (Workflow_Schema $asset, Backend_Outputter $o, $prefix)
 
 processSteps (Workflow_Schema $asset, Backend_Outputter $o, $prefix)
 
 generateWorkflowArray (Asset $asset)
 
 getPriorStream ($prefix)
 
 getCurrentStream ($prefix)
 
 hasSelectedCurrentStream (Asset $asset, $prefix)
 
 hasSelectedPriorStream (Asset $asset, $prefix)
 
 paintUsage (Workflow_Schema $asset, Backend_Outputter $o, $prefix)
 
 _getTreeTops (Workflow_Schema $asset, Array $treeids)
 
- Public Member Functions inherited from Folder_Edit_Fns
 Folder_Edit_Fns ()
 
- 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 31 of file workflow_schema_edit_fns.inc.

Constructor & Destructor Documentation

__construct ( )

Constructor

Definition at line 39 of file workflow_schema_edit_fns.inc.

Member Function Documentation

_getTreeTops ( Workflow_Schema  $asset,
Array  $treeids 
)

Get the "tree tops" in the supplied list of assets

An asset is a "tree top" in a set of assets if none of its ancestors in the asset tree are in the set with it. Conversely if an asset's parent or grandparent etc is in the set, then that asset is not a tree top.

Returns an array indexed by treeid, where each value is another array containing assetid and number of children of that assetid found in the set.

Parameters
array$assetidsThe assetids we are analysing
Returns
array public

Definition at line 691 of file workflow_schema_edit_fns.inc.

generateWorkflowArray ( Asset  $asset)

Generate an array representing the workflow structure for the schema at this point in time

The generated array is a snap shot of the schema at a point in time that can get written to the database and used for publishing etc.

Parameters
Asset$assetthe asset we are generating the array for
Returns
array public

Definition at line 464 of file workflow_schema_edit_fns.inc.

paintNewStep ( Workflow_Schema  $asset,
Backend_Outputter  $o,
  $prefix 
)

Paint the interface for creating a new workflow step

Parameters
Workflow_Schema$assetthe asset to which we belong
Backend_Outputter$othe Backend Outputter object
string$prefixprefix for the form element
Returns
boolean public

Definition at line 322 of file workflow_schema_edit_fns.inc.

paintSteps ( Workflow_Schema  $asset,
Backend_Outputter  $o,
  $prefix 
)

Paint the interface for creating a new workflow step

Parameters
Workflow_Schema$assetthe asset to which we belong
Backend_Outputter$othe Backend Outputter object
string$prefixprefix for the form element
Returns
boolean public

Definition at line 416 of file workflow_schema_edit_fns.inc.

paintWorkflowSummary ( Workflow_Schema  $asset,
Backend_Outputter  $o,
  $prefix 
)

Paint the interface for printing the workflow summary, which will also allow re-ordering of the page.

Parameters
Workflow_Schema$assetthe asset to which we belong
Backend_Outputter$othe Backend Outputter object
string$prefixprefix for the form element
Returns
boolean public

Definition at line 369 of file workflow_schema_edit_fns.inc.

processNewStep ( Workflow_Schema  $asset,
Backend_Outputter  $o,
  $prefix 
)

Processes the interface for creating a new workflow step

Parameters
Workflow_Schema$assetthe asset to which we belong
Backend_Outputter$othe Backend Outputter object
string$prefixprefix for the form element
Returns
boolean public

Definition at line 345 of file workflow_schema_edit_fns.inc.

processSteps ( Workflow_Schema  $asset,
Backend_Outputter  $o,
  $prefix 
)

Processes the interface for creating a new workflow step

Parameters
Workflow_Schema$assetthe asset to which we belong
Backend_Outputter$othe Backend Outputter object
string$prefixprefix for the form element
Returns
boolean public

Definition at line 439 of file workflow_schema_edit_fns.inc.

processWorkflowSummary ( Workflow_Schema  $asset,
Backend_Outputter  $o,
  $prefix 
)

Paint the interface for printing the workflow summary, which will also allow re-ordering of the page.

Parameters
Workflow_Schema$assetthe asset to which we belong
Backend_Outputter$othe Backend Outputter object
string$prefixprefix for the form element
Returns
boolean public

Definition at line 393 of file workflow_schema_edit_fns.inc.


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