Class lispa\amos\workflow\widgets\WorkflowTransitionWidget

Inheritancelispa\amos\workflow\widgets\WorkflowTransitionWidget » kartik\base\Widget

Class WorkflowStateWidget Renders the widget useful to change a model workflow status.

Property Details

$buttonLayout public property
public string $buttonLayout "<div id=\"workflow-form-actions\" class=\"pull-right\">{buttonSubmit}</div>"
$classDivButton public property
public string $classDivButton null
$classDivIcon public property
public string $classDivIcon null
$classDivLabel public property
public string $classDivLabel null
$classDivMessage public property
public string $classDivMessage null
$classHr public property
public string $classHr 'workflow'
$containerWidgetClass public property
public string $containerWidgetClass 'col-xs-12 workflow-transition-widget'
$customJs public property
public string $customJs null
$dataConfirm public property
public string $dataConfirm null
$icon public property

To validate

public string $icon 'refresh-alt'
$iconEdit public property

Edit

public string $iconEdit 'edit'
$iconOptions public property

Array of the icon options

public array $iconOptions = ['style' => 'font-size: 50px;']
$iconValidate public property

Validate

public string $iconValidate 'check-all'
$initialLabel public property
public string $initialLabel null
$initialMessage public property
public string $initialMessage null
$viewWidgetOnNewRecord public property

If true force to view the widget when the model is in new record state

Method Details

getForm() public method

public \lispa\amos\workflow\widgets\ActiveForm getForm ( )
getMetadata() public method

public array getMetadata ( )
getModel() public method

public yii\db\ActiveRecord getModel ( )
getTranslationCategory() public method

public string getTranslationCategory ( )
getWorkflowId() public method

public string getWorkflowId ( )
init() public method

See also [[\kartik\base\Widget::init();]] Set of the permissionSave.

public void init ( )
run() public method

public void run ( )
setForm() public method

public void setForm ( $form )
$form \lispa\amos\workflow\widgets\ActiveForm
setMetadata() public method

public void setMetadata ( $metadata )
$metadata array
setModel() public method

public void setModel ( $model )
$model yii\db\ActiveRecord
setTranslationCategory() public method

public void setTranslationCategory ( $translationCategory )
$translationCategory string
setWorkflowId() public method

public void setWorkflowId ( $workflowId )
$workflowId string