2017 © Pedro Peláez
 

yii2-extension yii2-actioncolumn

Action column dg button sesuai role

image

mdmunir/yii2-actioncolumn

Action column dg button sesuai role

  • Sunday, June 7, 2015
  • by mdmunir
  • Repository
  • 1 Watchers
  • 0 Stars
  • 3 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Action Colum

Action column dg button sesuai role, (*1)

Installation

The preferred way to install this extension is through composer., (*2)

Either run, (*3)

php composer.phar require --prefer-dist mdmunir/yii2-actioncolumn "dev-master"

or add, (*4)

"mdmunir/yii2-actioncolumn": "dev-master"

to the require section of your composer.json file., (*5)

Usage

Once the extension is installed, simply use it in your code by :, (*6)

\Yii::$container->set('yii\grid\ActionColumn', [
    'class' => 'mdmunir\grid\ActionColumn',
    'visibleCallback' => function($name) {
        return \Yii::$app->user->can(\Yii::$app->controller->id . '/' . $name);
    },
]);

The Versions

07/06 2015

dev-master

9999999-dev

Action column dg button sesuai role

  Sources   Download

BSD-3-Clause

The Requires

 

by Misbahul Munir

yii2 action control grid action column

07/06 2015

1.0

1.0.0.0

Action column dg button sesuai role

  Sources   Download

BSD-3-Clause

The Requires

 

by Misbahul Munir

yii2 action control grid action column