ILIAS
Release_4_4_x_branch Revision 61816
|
Public Member Functions | |
__construct (ilLanguage $lng) | |
determine () | |
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 $file, $iso2_language_code, and getSourceFiles().
Referenced by ilTermsOfServiceFileSystemDocumentTest\testClientDocumentCouldBeRetrievedByCurrentLanguage(), ilTermsOfServiceFileSystemDocumentTest\testClientDocumentCouldBeRetrievedByDefaultLanguage(), ilTermsOfServiceFileSystemDocumentTest\testClientDocumentCouldBeRetrievedByEnglishLanguage(), ilTermsOfServiceFileSystemDocumentTest\testGlobalDocumentCouldBeRetrievedByCurrentLanguage(), ilTermsOfServiceFileSystemDocumentTest\testGlobalDocumentCouldBeRetrievedByDefaultLanguage(), and ilTermsOfServiceFileSystemDocumentTest\testGlobalDocumentCouldBeRetrievedByEnglishLanguage().
ilTermsOfServiceFileSystemDocument::getContent | ( | ) |
Implements ilTermsOfServiceSignableDocument.
Definition at line 135 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 159 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 103 of file class.ilTermsOfServiceFileSystemDocument.php.
References $lng.
Referenced by initSourceFiles().
ilTermsOfServiceFileSystemDocument::getSource | ( | ) |
Implements ilTermsOfServiceSignableDocument.
Definition at line 143 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 119 of file class.ilTermsOfServiceFileSystemDocument.php.
References $source_files.
Referenced by determine().
ilTermsOfServiceFileSystemDocument::getSourceType | ( | ) |
Implements ilTermsOfServiceSignableDocument.
Definition at line 151 of file class.ilTermsOfServiceFileSystemDocument.php.
References ilTermsOfServiceSignableDocument\SRC_TYPE_FILE_SYSTEM_PATH.
Referenced by ilTermsOfServiceFileSystemDocumentTest\testClientDocumentCouldBeRetrievedByCurrentLanguage(), ilTermsOfServiceFileSystemDocumentTest\testClientDocumentCouldBeRetrievedByDefaultLanguage(), ilTermsOfServiceFileSystemDocumentTest\testClientDocumentCouldBeRetrievedByEnglishLanguage(), ilTermsOfServiceFileSystemDocumentTest\testGlobalDocumentCouldBeRetrievedByCurrentLanguage(), ilTermsOfServiceFileSystemDocumentTest\testGlobalDocumentCouldBeRetrievedByDefaultLanguage(), and ilTermsOfServiceFileSystemDocumentTest\testGlobalDocumentCouldBeRetrievedByEnglishLanguage().
ilTermsOfServiceFileSystemDocument::hasContent | ( | ) |
Implements ilTermsOfServiceSignableDocument.
Definition at line 127 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 80 of file class.ilTermsOfServiceFileSystemDocument.php.
References getLanguageAdapter().
Referenced by __construct().
ilTermsOfServiceFileSystemDocument::setLanguageAdapter | ( | $lng | ) |
ilLanguage | $lng |
Definition at line 95 of file class.ilTermsOfServiceFileSystemDocument.php.
References $lng.
Referenced by __construct().
ilTermsOfServiceFileSystemDocument::setSourceFiles | ( | $source_directories | ) |
array | $source_directories |
Definition at line 111 of file class.ilTermsOfServiceFileSystemDocument.php.
|
protected |
Definition at line 25 of file class.ilTermsOfServiceFileSystemDocument.php.
Referenced by 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().