ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Public Member Functions | |
getByContext ($context) | |
setLanguageAdapter ($lng) | |
getLanguageAdapter () | |
setDatabaseAdapter ($db) | |
getDatabaseAdapter () | |
Data Fields | |
const | CONTEXT_AGRREMENT_BY_LANGUAGE = 'agreements_by_language' |
const | CONTEXT_ACCEPTANCE_HISTORY = 'acceptance_history' |
Protected Member Functions | |
validateConfiguration (array $mandatory_members) | |
getExceptionByMember ($member) | |
Protected Attributes | |
$lng | |
$db | |
Definition at line 8 of file class.ilTermsOfServiceTableDataProviderFactory.php.
ilTermsOfServiceTableDataProviderFactory::getByContext | ( | $context | ) |
string | $context |
ilTermsOfServiceMissingLanguageAdapterException | |
InvalidArgumentException |
Definition at line 36 of file class.ilTermsOfServiceTableDataProviderFactory.php.
References array, getDatabaseAdapter(), and validateConfiguration().
Referenced by ilTermsOfServiceTableDataProviderFactoryTest\testExceptionIsRaisedWhenAcceptanceHistoryProviderIsRequestedWithoutCompleteFactoryConfiguration(), ilTermsOfServiceTableDataProviderFactoryTest\testExceptionIsRaisedWhenAgreementByLanguageProviderIsRequestedWithoutCompleteFactoryConfiguration(), ilTermsOfServiceTableDataProviderFactoryTest\testExceptionIsRaisedWhenUnsupportedProviderIsRequested(), ilTermsOfServiceTableDataProviderFactoryTest\testFactoryShouldReturnAcceptanceHistoryProviderWhenRequested(), and ilTermsOfServiceTableDataProviderFactoryTest\testFactoryShouldReturnAgreementByLanguageProviderWhenRequested().
ilTermsOfServiceTableDataProviderFactory::getDatabaseAdapter | ( | ) |
Definition at line 117 of file class.ilTermsOfServiceTableDataProviderFactory.php.
References $db.
Referenced by getByContext(), and ilTermsOfServiceTableDataProviderFactoryTest\testFactoryShouldReturnDatabaseAdapterWhenDatabaseAdapterIsSet().
|
protected |
string | $member |
InvalidArgumentException |
Definition at line 74 of file class.ilTermsOfServiceTableDataProviderFactory.php.
Referenced by validateConfiguration().
ilTermsOfServiceTableDataProviderFactory::getLanguageAdapter | ( | ) |
Definition at line 101 of file class.ilTermsOfServiceTableDataProviderFactory.php.
References $lng.
Referenced by ilTermsOfServiceTableDataProviderFactoryTest\testFactoryShouldReturnLanguageAdapterWhenLanguageAdapterIsSet().
ilTermsOfServiceTableDataProviderFactory::setDatabaseAdapter | ( | $db | ) |
ilDBInterface | null | $db |
Definition at line 109 of file class.ilTermsOfServiceTableDataProviderFactory.php.
References $db.
Referenced by ilTermsOfServiceTableDataProviderFactoryTest\testExceptionIsRaisedWhenAcceptanceHistoryProviderIsRequestedWithoutCompleteFactoryConfiguration(), ilTermsOfServiceTableDataProviderFactoryTest\testFactoryShouldReturnAcceptanceHistoryProviderWhenRequested(), and ilTermsOfServiceTableDataProviderFactoryTest\testFactoryShouldReturnDatabaseAdapterWhenDatabaseAdapterIsSet().
ilTermsOfServiceTableDataProviderFactory::setLanguageAdapter | ( | $lng | ) |
ilLanguage | null | $lng |
Definition at line 93 of file class.ilTermsOfServiceTableDataProviderFactory.php.
References $lng.
Referenced by ilTermsOfServiceTableDataProviderFactoryTest\testExceptionIsRaisedWhenAgreementByLanguageProviderIsRequestedWithoutCompleteFactoryConfiguration(), ilTermsOfServiceTableDataProviderFactoryTest\testFactoryShouldReturnAgreementByLanguageProviderWhenRequested(), and ilTermsOfServiceTableDataProviderFactoryTest\testFactoryShouldReturnLanguageAdapterWhenLanguageAdapterIsSet().
|
protected |
array | $mandatory_members |
ilTermsOfServiceMissingLanguageAdapterException | |
ilTermsOfServiceMissingDatabaseAdapterException |
Definition at line 59 of file class.ilTermsOfServiceTableDataProviderFactory.php.
References getExceptionByMember().
Referenced by getByContext().
|
protected |
Definition at line 18 of file class.ilTermsOfServiceTableDataProviderFactory.php.
Referenced by getDatabaseAdapter(), and setDatabaseAdapter().
|
protected |
Definition at line 13 of file class.ilTermsOfServiceTableDataProviderFactory.php.
Referenced by getLanguageAdapter(), and setLanguageAdapter().
const ilTermsOfServiceTableDataProviderFactory::CONTEXT_ACCEPTANCE_HISTORY = 'acceptance_history' |
Definition at line 28 of file class.ilTermsOfServiceTableDataProviderFactory.php.
Referenced by ilObjTermsOfServiceGUI\showAcceptanceHistory(), ilTermsOfServiceTableDataProviderFactoryTest\testExceptionIsRaisedWhenAcceptanceHistoryProviderIsRequestedWithoutCompleteFactoryConfiguration(), ilTermsOfServiceTableDataProviderFactoryTest\testFactoryShouldReturnAcceptanceHistoryProviderWhenRequested(), ilTermsOfServiceAcceptanceHistoryProviderTest\testHistoryProviderCanBeCreatedByFactory(), ilTermsOfServiceAcceptanceHistoryProviderTest\testListCanBeRetrieved(), and ilTermsOfServiceAcceptanceHistoryProviderTest\testRetrievingListThrowsExceptionsWhenInvalidArgumentsArePassed().
const ilTermsOfServiceTableDataProviderFactory::CONTEXT_AGRREMENT_BY_LANGUAGE = 'agreements_by_language' |
Definition at line 23 of file class.ilTermsOfServiceTableDataProviderFactory.php.
Referenced by ilObjTermsOfServiceGUI\saveSettings(), ilObjTermsOfServiceGUI\showAgreementByLanguage(), ilObjTermsOfServiceGUI\showMissingDocuments(), ilTermsOfServiceAgreementsByLanguageTableDataProviderTest\testAgreementByLanguageProviderCanBeCreatedByFactory(), ilTermsOfServiceTableDataProviderFactoryTest\testExceptionIsRaisedWhenAgreementByLanguageProviderIsRequestedWithoutCompleteFactoryConfiguration(), and ilTermsOfServiceTableDataProviderFactoryTest\testFactoryShouldReturnAgreementByLanguageProviderWhenRequested().