vova07/yii2-control-widget

The control widget for Yii framework backend.

Installs: 1 287

Dependents: 2

Suggesters: 0

Security: 0

Stars: 2

Watchers: 2

Forks: 2

Open Issues: 0

Type:yii2-extension

0.1.0 2014-05-27 10:36 UTC

This package is not auto-updated.

Last update: 2024-12-21 17:34:44 UTC


README

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist vova07/yii2-control-widget "*"

or add

"vova07/yii2-control-widget": "*"

to the require section of your composer.json file.

Usage

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

echo \vova07\control\Widget::widget([
    'title' => 'Create new record',
    'items' => [
        'cancel' => [
            'visible' => true
        ]
    ]
]);