The workflow service.
- Depuis
- 4.0.0
◆ filterTransitions()
filterTransitions |
( |
array |
$transitions, |
|
|
int |
$pk |
|
) |
| |
Method to filter transitions by given id of state.
- Paramètres
-
| integer[] | $transitions Array of transitions to filter for |
integer | $pk | Id of the state on which the transitions are performed |
- Renvoie
- array
- Depuis
- 4.0.0
Implémenté dans ContentComponent.
◆ getCategoryWorkflowContext()
getCategoryWorkflowContext |
( |
?string |
$section = null | ) |
|
Returns the workflow context based on the given category section
- Paramètres
-
string | $section | The section |
- Renvoie
- string|null
- Depuis
- 4.0.0
Implémenté dans ContentComponent.
◆ getConditions()
static getConditions |
( |
string |
$extension | ) |
|
|
static |
Returns an array of possible conditions for the component.
- Paramètres
-
string | $extension | Full extension string |
- Renvoie
- array
- Depuis
- 4.0.0
◆ getModelName()
Returns the model name, based on the context
- Paramètres
-
string | $context | The context of the workflow |
- Renvoie
- boolean
Implémenté dans ContentComponent.
◆ getWorkflowContexts()
Returns valid contexts.
- Renvoie
- array
- Depuis
- 4.0.0
Implémenté dans ContentComponent.
◆ getWorkflowTableBySection()
getWorkflowTableBySection |
( |
?string |
$section = null | ) |
|
Returns a table name for the state association
- Paramètres
-
string | $section | An optional section to differ different areas in the component |
- Renvoie
- string
- Depuis
- 4.0.0
Implémenté dans ContentComponent.
◆ isWorkflowActive()
isWorkflowActive |
( |
|
$context | ) |
|
Check if the workflow is active
- Paramètres
-
string | $context | The context of the workflow |
- Renvoie
- boolean
◆ supportFunctionality()
supportFunctionality |
( |
|
$functionality, |
|
|
|
$context |
|
) |
| |
Check if the functionality is supported by the context
- Paramètres
-
string | $functionality | The functionality |
string | $context | The context of the functionality |
- Renvoie
- boolean
- Depuis
- 4.0.0
La documentation de cette interface a été générée à partir du fichier suivant :