4 require_once
'Services/TermsOfService/interfaces/interface.ilTermsOfServiceSignableDocument.php';
63 foreach ($lines as $line) {
64 $this->content .= nl2br(trim($line));
70 $this->source =
$file;
71 $this->has_content = (bool) strlen($this->content);
77 require_once
'Services/TermsOfService/exceptions/class.ilTermsOfServiceNoSignableDocumentFoundException.php';
94 $this->source_files =
array(
96 implode(
'/',
array(
'.',
'Customizing',
'clients', CLIENT_ID,
'agreement',
'agreement_' . $this->
getLanguageAdapter()->getDefaultLanguage() .
'.html')) => $this->
getLanguageAdapter()->getDefaultLanguage(),
97 implode(
'/',
array(
'.',
'Customizing',
'clients', CLIENT_ID,
'agreement',
'agreement_en.html')) =>
'en',
100 implode(
'/',
array(
'.',
'Customizing',
'global',
'agreement',
'agreement_en.html')) =>
'en' 125 $this->source_files = $source_directories;
165 return self::SRC_TYPE_FILE_SYSTEM_PATH;
Reload workbook from saved file
Create styles array
The data for the language used.
setSourceFiles($source_directories)
__construct(ilLanguage $lng)
if(!file_exists("$old.txt")) if($old===$new) if(file_exists("$new.txt")) $file