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'))
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;
getList(array $params, array $filter)
{Table paramaters like limit or order Filter settings array}
setSourceDirectories($terms_of_service_source_directories)
Create styles array
The data for the language used.
if(!file_exists("$old.txt")) if($old===$new) if(file_exists("$new.txt")) $file
__construct(ilLanguage $lng)