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