ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Public Member Functions | |
__construct (ilLanguage $lng) | |
determine () | |
exists () | |
{
| |
setLanguageAdapter ($lng) | |
getLanguageAdapter () | |
setSourceFiles ($source_directories) | |
getSourceFiles () | |
hasContent () | |
getContent () | |
getSource () | |
getSourceType () | |
getIso2LanguageCode () | |
Protected Member Functions | |
initSourceFiles () | |
Protected Attributes | |
$lng | |
$has_content = false | |
$content = '' | |
$iso2_language_code = '' | |
$source = '' | |
$source_files = array() | |
Additional Inherited Members | |
Data Fields inherited from ilTermsOfServiceSignableDocument | |
const | SRC_TYPE_FILE_SYSTEM_PATH = 0 |
const | SRC_TYPE_OBJECT = 1 |
Definition at line 10 of file class.ilTermsOfServiceFileSystemDocument.php.
ilTermsOfServiceFileSystemDocument::__construct | ( | ilLanguage | $lng | ) |
ilLanguage | $lng |
Definition at line 45 of file class.ilTermsOfServiceFileSystemDocument.php.
References initSourceFiles(), and setLanguageAdapter().
ilTermsOfServiceFileSystemDocument::determine | ( | ) |
Implements ilTermsOfServiceSignableDocument.
Definition at line 54 of file class.ilTermsOfServiceFileSystemDocument.php.
References $content, $file, $iso2_language_code, file, and getSourceFiles().
Referenced by ilTermsOfServiceFileSystemDocumentTest\testClientDocumentCouldBeRetrievedByCurrentLanguage(), ilTermsOfServiceFileSystemDocumentTest\testClientDocumentCouldBeRetrievedByDefaultLanguage(), ilTermsOfServiceFileSystemDocumentTest\testClientDocumentCouldBeRetrievedByEnglishLanguage(), ilTermsOfServiceFileSystemDocumentTest\testGlobalDocumentCouldBeRetrievedByCurrentLanguage(), ilTermsOfServiceFileSystemDocumentTest\testGlobalDocumentCouldBeRetrievedByDefaultLanguage(), and ilTermsOfServiceFileSystemDocumentTest\testGlobalDocumentCouldBeRetrievedByEnglishLanguage().
ilTermsOfServiceFileSystemDocument::exists | ( | ) |
{
Implements ilTermsOfServiceSignableDocument.
Definition at line 84 of file class.ilTermsOfServiceFileSystemDocument.php.
ilTermsOfServiceFileSystemDocument::getContent | ( | ) |
Implements ilTermsOfServiceSignableDocument.
Definition at line 147 of file class.ilTermsOfServiceFileSystemDocument.php.
References $content.
Referenced by ilTermsOfServiceFileSystemDocumentTest\testClientDocumentCouldBeRetrievedByCurrentLanguage(), ilTermsOfServiceFileSystemDocumentTest\testClientDocumentCouldBeRetrievedByDefaultLanguage(), ilTermsOfServiceFileSystemDocumentTest\testClientDocumentCouldBeRetrievedByEnglishLanguage(), ilTermsOfServiceFileSystemDocumentTest\testGlobalDocumentCouldBeRetrievedByCurrentLanguage(), ilTermsOfServiceFileSystemDocumentTest\testGlobalDocumentCouldBeRetrievedByDefaultLanguage(), and ilTermsOfServiceFileSystemDocumentTest\testGlobalDocumentCouldBeRetrievedByEnglishLanguage().
ilTermsOfServiceFileSystemDocument::getIso2LanguageCode | ( | ) |
Implements ilTermsOfServiceSignableDocument.
Definition at line 171 of file class.ilTermsOfServiceFileSystemDocument.php.
References $iso2_language_code.
Referenced by ilTermsOfServiceFileSystemDocumentTest\testClientDocumentCouldBeRetrievedByCurrentLanguage(), ilTermsOfServiceFileSystemDocumentTest\testClientDocumentCouldBeRetrievedByDefaultLanguage(), ilTermsOfServiceFileSystemDocumentTest\testClientDocumentCouldBeRetrievedByEnglishLanguage(), ilTermsOfServiceFileSystemDocumentTest\testGlobalDocumentCouldBeRetrievedByCurrentLanguage(), ilTermsOfServiceFileSystemDocumentTest\testGlobalDocumentCouldBeRetrievedByDefaultLanguage(), and ilTermsOfServiceFileSystemDocumentTest\testGlobalDocumentCouldBeRetrievedByEnglishLanguage().
ilTermsOfServiceFileSystemDocument::getLanguageAdapter | ( | ) |
Definition at line 115 of file class.ilTermsOfServiceFileSystemDocument.php.
References $lng.
Referenced by initSourceFiles().
ilTermsOfServiceFileSystemDocument::getSource | ( | ) |
Implements ilTermsOfServiceSignableDocument.
Definition at line 155 of file class.ilTermsOfServiceFileSystemDocument.php.
References $source.
Referenced by ilTermsOfServiceFileSystemDocumentTest\testClientDocumentCouldBeRetrievedByCurrentLanguage(), ilTermsOfServiceFileSystemDocumentTest\testClientDocumentCouldBeRetrievedByDefaultLanguage(), ilTermsOfServiceFileSystemDocumentTest\testClientDocumentCouldBeRetrievedByEnglishLanguage(), ilTermsOfServiceFileSystemDocumentTest\testGlobalDocumentCouldBeRetrievedByCurrentLanguage(), ilTermsOfServiceFileSystemDocumentTest\testGlobalDocumentCouldBeRetrievedByDefaultLanguage(), and ilTermsOfServiceFileSystemDocumentTest\testGlobalDocumentCouldBeRetrievedByEnglishLanguage().
ilTermsOfServiceFileSystemDocument::getSourceFiles | ( | ) |
Definition at line 131 of file class.ilTermsOfServiceFileSystemDocument.php.
References $source_files.
Referenced by determine().
ilTermsOfServiceFileSystemDocument::getSourceType | ( | ) |
Implements ilTermsOfServiceSignableDocument.
Definition at line 163 of file class.ilTermsOfServiceFileSystemDocument.php.
Referenced by ilTermsOfServiceFileSystemDocumentTest\testClientDocumentCouldBeRetrievedByCurrentLanguage(), ilTermsOfServiceFileSystemDocumentTest\testClientDocumentCouldBeRetrievedByDefaultLanguage(), ilTermsOfServiceFileSystemDocumentTest\testClientDocumentCouldBeRetrievedByEnglishLanguage(), ilTermsOfServiceFileSystemDocumentTest\testGlobalDocumentCouldBeRetrievedByCurrentLanguage(), ilTermsOfServiceFileSystemDocumentTest\testGlobalDocumentCouldBeRetrievedByDefaultLanguage(), and ilTermsOfServiceFileSystemDocumentTest\testGlobalDocumentCouldBeRetrievedByEnglishLanguage().
ilTermsOfServiceFileSystemDocument::hasContent | ( | ) |
Implements ilTermsOfServiceSignableDocument.
Definition at line 139 of file class.ilTermsOfServiceFileSystemDocument.php.
References $has_content.
Referenced by ilTermsOfServiceFileSystemDocumentTest\testClientDocumentCouldBeRetrievedByCurrentLanguage(), ilTermsOfServiceFileSystemDocumentTest\testClientDocumentCouldBeRetrievedByDefaultLanguage(), ilTermsOfServiceFileSystemDocumentTest\testClientDocumentCouldBeRetrievedByEnglishLanguage(), ilTermsOfServiceFileSystemDocumentTest\testGlobalDocumentCouldBeRetrievedByCurrentLanguage(), ilTermsOfServiceFileSystemDocumentTest\testGlobalDocumentCouldBeRetrievedByDefaultLanguage(), and ilTermsOfServiceFileSystemDocumentTest\testGlobalDocumentCouldBeRetrievedByEnglishLanguage().
|
protected |
Definition at line 92 of file class.ilTermsOfServiceFileSystemDocument.php.
References array, and getLanguageAdapter().
Referenced by __construct().
ilTermsOfServiceFileSystemDocument::setLanguageAdapter | ( | $lng | ) |
ilLanguage | $lng |
Definition at line 107 of file class.ilTermsOfServiceFileSystemDocument.php.
References $lng.
Referenced by __construct().
ilTermsOfServiceFileSystemDocument::setSourceFiles | ( | $source_directories | ) |
array | $source_directories |
Definition at line 123 of file class.ilTermsOfServiceFileSystemDocument.php.
|
protected |
Definition at line 25 of file class.ilTermsOfServiceFileSystemDocument.php.
Referenced by determine(), and getContent().
|
protected |
Definition at line 20 of file class.ilTermsOfServiceFileSystemDocument.php.
Referenced by hasContent().
|
protected |
Definition at line 30 of file class.ilTermsOfServiceFileSystemDocument.php.
Referenced by determine(), and getIso2LanguageCode().
|
protected |
Definition at line 15 of file class.ilTermsOfServiceFileSystemDocument.php.
Referenced by getLanguageAdapter(), and setLanguageAdapter().
|
protected |
Definition at line 35 of file class.ilTermsOfServiceFileSystemDocument.php.
Referenced by getSource().
|
protected |
Definition at line 40 of file class.ilTermsOfServiceFileSystemDocument.php.
Referenced by getSourceFiles().