• Ad Schellevis's avatar
    (mvc) add support class for easy datagrid usage · a6198444
    Ad Schellevis authored
    // 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);
    a6198444
Name
Last commit
Last update
pkg Loading commit data...
scripts Loading commit data...
src Loading commit data...
.gitignore Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...