ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
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 | |
![]() | |
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 90 of file class.ilTermsOfServiceFileSystemDocument.php.
ilTermsOfServiceFileSystemDocument::getContent | ( | ) |
Implements ilTermsOfServiceSignableDocument.
Definition at line 153 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 177 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 121 of file class.ilTermsOfServiceFileSystemDocument.php.
References $lng.
Referenced by initSourceFiles().
ilTermsOfServiceFileSystemDocument::getSource | ( | ) |
Implements ilTermsOfServiceSignableDocument.
Definition at line 161 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 137 of file class.ilTermsOfServiceFileSystemDocument.php.
References $source_files.
Referenced by determine().
ilTermsOfServiceFileSystemDocument::getSourceType | ( | ) |
Implements ilTermsOfServiceSignableDocument.
Definition at line 169 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 145 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 98 of file class.ilTermsOfServiceFileSystemDocument.php.
References array, and getLanguageAdapter().
Referenced by __construct().
ilTermsOfServiceFileSystemDocument::setLanguageAdapter | ( | $lng | ) |
ilLanguage | $lng |
Definition at line 113 of file class.ilTermsOfServiceFileSystemDocument.php.
References $lng.
Referenced by __construct().
ilTermsOfServiceFileSystemDocument::setSourceFiles | ( | $source_directories | ) |
array | $source_directories |
Definition at line 129 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().