Squiz Matrix
4.12.2
|
Additional Inherited Members | |
Data Fields inherited from Asset_Edit_Fns | |
$static_screens | |
Definition at line 35 of file workflow_bundle_edit_fns.inc.
__construct | ( | ) |
Constructor
Definition at line 43 of file workflow_bundle_edit_fns.inc.
bundleRequiresComment | ( | Workflow_Bundle | $asset | ) |
Test whether approving or rejecting the bundle requires a comment
If at least one of the currently in-workflow-step assets requires a comment (either through being marked as such for the current workflow step, or through "unlisted users"), then the bundle should require one to proceed.
Workflow_Bundle | $asset | The bundle to test |
Definition at line 538 of file workflow_bundle_edit_fns.inc.
paintCurrentStatus | ( | Workflow_Bundle | $asset, |
Backend_Outputter | $o, | ||
$prefix | |||
) |
Handles painting of the Current Status field
Here since it needs custom processing
Workflow_Bundle | $asset | The asset being processed |
Backend_Outputter | $o | The outputter class being used |
string | $prefix | Prefix for form elements |
Definition at line 61 of file workflow_bundle_edit_fns.inc.
paintCustomStatusChange | ( | Workflow_Bundle | $asset, |
Backend_Outputter | $o, | ||
$prefix | |||
) |
Handles painting of the Status Change field
Here since it needs custom processing
Workflow_Bundle | $asset | The asset being processed |
Backend_Outputter | $o | The outputter class being used |
string | $prefix | Prefix for form elements |
Definition at line 82 of file workflow_bundle_edit_fns.inc.
paintFutureStatus | ( | Workflow_Bundle | $asset, |
Backend_Outputter | $o, | ||
$prefix | |||
) |
Handles painting of the Future Status section
Here since it needs custom processing. Much the same as printing the future status sections in the normal Details static screen.
Workflow_Bundle | $asset | The asset being processed |
Backend_Outputter | $o | The outputter class being used |
string | $prefix | Prefix for form elements |
Definition at line 295 of file workflow_bundle_edit_fns.inc.
paintWorkflow | ( | Workflow_Bundle | $asset, |
Backend_Outputter | $o, | ||
$prefix | |||
) |
Paints the custom workflow screen for the bundle
Workflow_Bundle | $asset | The asset being processed |
Backend_Outputter | $o | The outputter class being used |
string | $prefix | Prefix for form elements |
Definition at line 357 of file workflow_bundle_edit_fns.inc.
processCustomStatusChange | ( | Workflow_Bundle | $asset, |
Backend_Outputter | $o, | ||
$prefix | |||
) |
Handles custom processing of the Status Change field
Makes it use the "Edit Bundled Asset Status" HIPO instead of the normal "Edit Status" HIPO.
NB: called from the paint function since there is nothing that should stop this from running (since being allowed to change is determined by the status object). If we were to call it from the edit interface XML, the lack of write access would block anything from happening.
Workflow_Bundle | $asset | The asset being processed |
Backend_Outputter | $o | The outputter class being used |
string | $prefix | Prefix for form elements |
Definition at line 246 of file workflow_bundle_edit_fns.inc.
processFutureStatus | ( | Workflow_Bundle | $asset, |
Backend_Outputter | $o, | ||
$prefix | |||
) |
Handles processing of the New Future Status section
Workflow_Bundle | $asset | The asset being processed |
Backend_Outputter | $o | The outputter class being used |
string | $prefix | Prefix for form elements |
Definition at line 338 of file workflow_bundle_edit_fns.inc.
processWorkflow | ( | Workflow_Bundle | $asset, |
Backend_Outputter | $o, | ||
$prefix | |||
) |
Processes the custom workflow screen for the bundle
NB: called from the paint function since there is nothing that should stop this from running (since being allowed to change is determined by being in a current workflow step). If we were to call it from the edit interface XML, the lack of write access would block anything from happening.
Workflow_Bundle | $asset | The asset being processed |
Backend_Outputter | $o | The outputter class being used |
string | $prefix | Prefix for form elements |
Definition at line 450 of file workflow_bundle_edit_fns.inc.
showIfCanApprove | ( | Workflow_Bundle | $asset | ) |
Show-if for the custom workflow screen
Show the custom workflow if:
Workflow_Bundle | $asset | The bundle to test |
Definition at line 496 of file workflow_bundle_edit_fns.inc.