meraproject/themes/merakomis/history/controller.php

22 lines
644 B
PHP
Raw Permalink Normal View History

<?
namespace controller\themes\merakomis\history;
use core\core\structure\eRowClick;
use ms\ms\structure\msControllerTable;
use themes\merakomis\History;
use themes\merakomis\structure\merakomisControllerTable;
class Api extends merakomisControllerTable {
static $class = 'themes\merakomis\History';
public static function getTableData($post = []) {
$post['options'][\ModuleTable::ROW_CLICK] = eRowClick::NONE;
$post['options'][\ModuleTable::NO_ADD_BUTTON] = true;
$post['options'][\Query::SORT] = [History::$ID=>'DESC'];
parent::getTableData($post); // TODO: Change the autogenerated stub
}
}