Class lispa\amos\core\forms\WorkflowTransitionWidget
Inheritance | lispa\amos\core\forms\WorkflowTransitionWidget » kartik\base\Widget |
---|
Class WorkflowStateWidget Renders the widget useful to change a model workflow status.
Public Properties
Public Methods
Property Details
public string $buttonLayout = "<div id=\"workflow-form-actions\" class=\"pull-right\">{buttonSubmit}</div>"
To validate
Edit
Array of the icon options
Validate
If true force to view the widget when the model is in new record state
Method Details
public lispa\amos\core\forms\ActiveForm getForm ( ) |
public boolean getHideButtons ( ) |
public array getMetadata ( ) |
public yii\db\ActiveRecord getModel ( ) |
public string getTranslationCategory ( ) |
public string getWorkflowId ( ) |
See also [[\kartik\base\Widget::init();]] Set of the permissionSave.
public void init ( ) |
public boolean isSeeStatusButtonId ( ) |
public void run ( ) |
public void setForm ( $form ) | ||
$form | lispa\amos\core\forms\ActiveForm |
public void setHideButtons ( $hideButtons ) | ||
$hideButtons | boolean |
public void setMetadata ( $metadata ) | ||
$metadata | array |
public void setModel ( $model ) | ||
$model | yii\db\ActiveRecord |
public void setSeeStatusButtonId ( $seeStatusButtonId ) | ||
$seeStatusButtonId | boolean |
public void setTranslationCategory ( $translationCategory ) | ||
$translationCategory | string |
public void setWorkflowId ( $workflowId ) | ||
$workflowId | string |