(mvc) add support class for easy datagrid usage
// create a new model $model = new Model(); // link model to support class $grid = new UIModelGrid($model->container->arrayTypeObject); // fetch data and return into array which our frontend grid component can use $result = $grid->fetch($fields, $itemsPerPage, $currentPage, $sortBy, $sortDescending, $searchPhrase);
Showing
Please register or sign in to comment