ILIAS
Release_5_0_x_branch Revision 61816
|
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 getDatabaseAdapter(), and validateConfiguration().
Referenced by ilTermsOfServiceTableDataProviderFactoryTest\testExceptionIsRaisedWhenAcceptanceHistoryProviderIsRequestedWithoutCompleteFactoryConfiguration(), ilTermsOfServiceTableDataProviderFactoryTest\testExceptionIsRaisedWhenAgreementByLanguageProviderIsRequestedWithoutCompleteFactoryConfiguration(), ilTermsOfServiceTableDataProviderFactoryTest\testExceptionIsRaisedWhenUnsupportedProviderIsRequested(), ilTermsOfServiceTableDataProviderFactoryTest\testFactoryShouldReturnAcceptanceHistoryProviderWhenRequested(), and ilTermsOfServiceTableDataProviderFactoryTest\testFactoryShouldReturnAgreementByLanguageProviderWhenRequested().
ilTermsOfServiceTableDataProviderFactory::getDatabaseAdapter | ( | ) |
Definition at line 121 of file class.ilTermsOfServiceTableDataProviderFactory.php.
References $db.
Referenced by getByContext(), and ilTermsOfServiceTableDataProviderFactoryTest\testFactoryShouldReturnDatabaseAdapterWhenDatabaseAdapterIsSet().
|
protected |
string | $member |
InvalidArgumentException |
Definition at line 77 of file class.ilTermsOfServiceTableDataProviderFactory.php.
Referenced by validateConfiguration().
ilTermsOfServiceTableDataProviderFactory::getLanguageAdapter | ( | ) |
Definition at line 105 of file class.ilTermsOfServiceTableDataProviderFactory.php.
References $lng.
Referenced by ilTermsOfServiceTableDataProviderFactoryTest\testFactoryShouldReturnLanguageAdapterWhenLanguageAdapterIsSet().
ilTermsOfServiceTableDataProviderFactory::setDatabaseAdapter | ( | $db | ) |
ilDB | null | $db |
Definition at line 113 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 97 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 60 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 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\showMissingDocuments(), ilTermsOfServiceAgreementsByLanguageTableDataProviderTest\testAgreementByLanguageProviderCanBeCreatedByFactory(), ilTermsOfServiceTableDataProviderFactoryTest\testExceptionIsRaisedWhenAgreementByLanguageProviderIsRequestedWithoutCompleteFactoryConfiguration(), and ilTermsOfServiceTableDataProviderFactoryTest\testFactoryShouldReturnAgreementByLanguageProviderWhenRequested().