Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Fonctions membres publiques | |
setUpWorkflow ($extension) | |
workflowPreprocessForm (Form $form, $data) | |
workflowBeforeStageChange () | |
workflowBeforeSave () | |
workflowAfterSave ($data) | |
workflowCleanupBatchMove ($oldId, $newId) | |
executeTransition (array $pks, int $transitionId) | |
getState ($property=null, $default=null) | |
getName () | |
getTable ($name='', $prefix='', $options=array()) | |
Interface for a workflow model.
executeTransition | ( | array | $pks, |
int | $transitionId | ||
) |
Runs transition for item.
array | $pks | Id of items to execute the transition |
integer | $transitionId | Id of transition |
getName | ( | ) |
Method to get the model name
The model name. By default parsed using the classname or it can be set by passing a $config['name'] in the class constructor
Method to get state variables.
string | $property | Optional parameter name |
mixed | $default | Optional default value |
getTable | ( | $name = '' , |
|
$prefix = '' , |
|||
$options = array() |
|||
) |
Method to get a table object, load it if necessary.
string | $name | The table name. Optional. |
string | $prefix | The class prefix. Optional. |
array | $options | Configuration array for model. Optional. |
Implémenté dans FormModel, et FeatureModel.
setUpWorkflow | ( | $extension | ) |
Set Up the workflow
string | $extension | The option and section separated by. |
workflowAfterSave | ( | $data | ) |
Executing of relevant workflow methods
workflowBeforeSave | ( | ) |
Preparation of workflow data/plugins
workflowBeforeStageChange | ( | ) |
Let plugins access stage change events
workflowCleanupBatchMove | ( | $oldId, | |
$newId | |||
) |
Batch change workflow stage or current.
integer | $oldId | The ID of the item copied from |
integer | $newId | The ID of the new item |
workflowPreprocessForm | ( | Form | $form, |
$data | |||
) |