merge
This commit is contained in:
commit
7dbff619f5
@ -6,7 +6,6 @@
|
||||
"email": "Email",
|
||||
"created_at": "Дата создания",
|
||||
"description": "Описание 1",
|
||||
"description2": "Описание 2",
|
||||
"status": "Статус"
|
||||
},
|
||||
"actions": ["view"],
|
||||
|
@ -307,4 +307,5 @@ class ListJsonTable extends JasonTable
|
||||
$this->beforePrintCell[$key] = $value;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
@ -28,9 +28,9 @@ class ViewJsonTable extends JasonTable
|
||||
$paramsStr = $this->createParams($this->data['meta']['params']);
|
||||
|
||||
//Хук перед выводом ячейки
|
||||
if (isset($this->beforePrintTable)){
|
||||
$hook = $this->beforePrintTable;
|
||||
$this->html = $hook();
|
||||
if (isset($this->beforePrintHook)){
|
||||
$hook = $this->beforePrintHook;
|
||||
$this->html .= $hook();
|
||||
}
|
||||
|
||||
$this->html .= "<table $paramsStr>";
|
||||
@ -65,8 +65,8 @@ class ViewJsonTable extends JasonTable
|
||||
{
|
||||
$this->html .= "</table>";
|
||||
|
||||
if(isset($this->afterPrintTable)){
|
||||
$hookAfter = $this->afterPrintTable;
|
||||
if(isset($this->afterPrintHook)){
|
||||
$hookAfter = $this->afterPrintHook;
|
||||
$this->html .= $hookAfter();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user