ILIAS  release_8 Revision v8.24
class.ilTermsOfServiceDocumentTableDataProvider.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
26{
27 public function getList(array $params, array $filter): array
28 {
29 $items = ilTermsOfServiceDocument::orderBy('sorting')->get();
30
31 return [
32 'items' => $items,
33 'cnt' => count($items)
34 ];
35 }
36}
static orderBy($orderBy, string $orderDirection='ASC')
Interface ilTermsOfServiceTableDataProvider.
if(! $DIC->user() ->getId()||!ilLTIConsumerAccess::hasCustomProviderCreationAccess()) $params
Definition: ltiregstart.php:33