PHP code example of nick-denry / yii2-filter-action-column
1. Go to this page and download the library: Download nick-denry/yii2-filter-action-column library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
nick-denry / yii2-filter-action-column example snippets
[
'class' => FilterContentActionColumn::className(),
// Confirmation text
'deleteConfirmText' => function($model) {
return 'Are you sure you want to delete "'.$model->title.'" page?';
},
...
// Add your own filterContent
],
[
'class' => FilterContentActionColumn::className(),
// Confirmation text
'deleteConfirmText' => 'Custom confirmation',
...
// Add your own filterContent
],
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.