4 require_once
'Services/TermsOfService/interfaces/interface.ilTermsOfServiceTableDataProvider.php';
41 $this->source_directories = $terms_of_service_source_directories;
73 $this->source_directories = array(
74 implode(
'/', array(
'.',
'Customizing',
'clients', CLIENT_ID,
'agreement')),
75 implode(
'/', array(
'.',
'Customizing',
'global',
'agreement'))
82 public function getList(array $params, array $filter)
102 $this->data[
'items'][$i][
'language'] = $iso2_language_code;
103 $this->data[
'items'][$i][
'agreement'] =
false;
104 $this->data[
'items'][$i][
'agreement_document'] = null;
105 $this->data[
'items'][$i][
'agreement_document_modification_ts'] = null;
109 $file = $directory .
'/agreement_' . $iso2_language_code .
'.html';
112 $this->data[
'items'][$i][
'agreement_document'] =
$file;
113 $this->data[
'items'][$i][
'agreement_document_modification_ts'] = filemtime(
$file);
114 $this->data[
'items'][$i][
'agreement'] =
true;
122 $this->data[
'cnt'] = $i;