Initial import

This commit is contained in:
Admin Nasledstvo
2026-05-01 20:52:04 +03:00
commit ac168868ee
10028 changed files with 2337954 additions and 0 deletions
@@ -0,0 +1,37 @@
<?php
namespace app\widgets;
use yii\base\Widget;
class TableWidget extends Widget
{
public $top = [];
public $th = [];
public $data = [];
public $actions = [];
public $filter = [];
public $advanced_filter = '';
public $exportData = [];
public $ignoreIds = [];
public $listTabs = [];
public $model = null;
public function run()
{
if (!isset($_GET['o']))
return $this->render('table', [
'top' => $this->top,
'th' => $this->th,
'data' => $this->data,
'actions' => $this->actions,
'filter' => $this->filter,
'advanced_filter' => $this->advanced_filter,
'exportData' => $this->exportData,
'ignoreIds' => $this->ignoreIds,
'listTabs' => $this->listTabs,
'model' => $this->model
]);
}
}