4 require_once
'Services/TermsOfService/interfaces/interface.ilTermsOfServiceSignableDocument.php';
66 foreach($lines as $line)
68 $this->content .= nl2br(trim($line));
76 $this->source =
$file;
77 $this->has_content = (bool)strlen($this->content);
83 require_once
'Services/TermsOfService/exceptions/class.ilTermsOfServiceNoSignableDocumentFoundException.php';
100 $this->source_files =
array(
102 implode(
'/',
array(
'.',
'Customizing',
'clients', CLIENT_ID,
'agreement',
'agreement_' . $this->
getLanguageAdapter()->getDefaultLanguage() .
'.html')) => $this->
getLanguageAdapter()->getDefaultLanguage(),
103 implode(
'/',
array(
'.',
'Customizing',
'clients', CLIENT_ID,
'agreement',
'agreement_en.html')) =>
'en',
106 implode(
'/',
array(
'.',
'Customizing',
'global',
'agreement',
'agreement_en.html')) =>
'en' 131 $this->source_files = $source_directories;
171 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