rokorolov/yii2-statusaction-widget StatusAction is a widget for manage the statuses.

actioncomponentstatus

yii2-statusaction-widget

StatusAction is a widget for working with the statuses.

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist rokorolov/yii2-statusaction-widget "*"

or add

"rokorolov/yii2-statusaction-widget": "*"

to the require section of your composer.json file.

Usage

Once the extension is installed, simply use it in your code by :

use rokorolov\statusaction\StatusAction;

<?= StatusAction::widget([
    'key' => $key, // the key associated with the data model
    'status' => $status, // current status
    'buttons' => [] // array, list of items
]); ?>

Statistics

Downloads
GitHub Stars
GitHub Forks

Releases

Comments



v1.0.0 is the latest of one release



BSD-3-Clause license
Stats
3 github stars & 0 github forks
0 downloads in the last day
0 downloads in the last 30 days
13 total downloads