ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Class ilTermsOfServiceTableDataProviderFactory. More...
Public Member Functions | |
getByContext (string $context) | |
setDatabaseAdapter ($db) | |
getDatabaseAdapter () | |
Data Fields | |
const | CONTEXT_ACCEPTANCE_HISTORY = 'acceptance_history' |
const | CONTEXT_DOCUMENTS = 'documents' |
Protected Member Functions | |
validateConfiguration (array $mandatoryMemberVariables) | |
getExceptionByMember ($member) | |
Protected Attributes | |
$db | |
Class ilTermsOfServiceTableDataProviderFactory.
Definition at line 8 of file class.ilTermsOfServiceTableDataProviderFactory.php.
ilTermsOfServiceTableDataProviderFactory::getByContext | ( | string | $context | ) |
string | $context |
Definition at line 22 of file class.ilTermsOfServiceTableDataProviderFactory.php.
References getDatabaseAdapter(), and validateConfiguration().
Referenced by ilTermsOfServiceTableDataProviderFactoryTest\testExceptionIsRaisedWhenAcceptanceHistoryProviderIsRequestedWithoutCompleteFactoryConfiguration(), ilTermsOfServiceTableDataProviderFactoryTest\testExceptionIsRaisedWhenUnsupportedProviderIsRequested(), and ilTermsOfServiceTableDataProviderFactoryTest\testFactoryShouldReturnAcceptanceHistoryProviderWhenRequested().
ilTermsOfServiceTableDataProviderFactory::getDatabaseAdapter | ( | ) |
Definition at line 80 of file class.ilTermsOfServiceTableDataProviderFactory.php.
References $db.
Referenced by getByContext(), and ilTermsOfServiceTableDataProviderFactoryTest\testFactoryShouldReturnDatabaseAdapterWhenDatabaseAdapterIsSet().
|
protected |
string | $member |
Definition at line 56 of file class.ilTermsOfServiceTableDataProviderFactory.php.
Referenced by validateConfiguration().
ilTermsOfServiceTableDataProviderFactory::setDatabaseAdapter | ( | $db | ) |
\ilDBInterface | null | $db |
Definition at line 72 of file class.ilTermsOfServiceTableDataProviderFactory.php.
References $db.
Referenced by ilTermsOfServiceTableDataProviderFactoryTest\testExceptionIsRaisedWhenAcceptanceHistoryProviderIsRequestedWithoutCompleteFactoryConfiguration(), ilTermsOfServiceTableDataProviderFactoryTest\testFactoryShouldReturnAcceptanceHistoryProviderWhenRequested(), and ilTermsOfServiceTableDataProviderFactoryTest\testFactoryShouldReturnDatabaseAdapterWhenDatabaseAdapterIsSet().
|
protected |
array | $mandatoryMemberVariables |
Definition at line 41 of file class.ilTermsOfServiceTableDataProviderFactory.php.
References getExceptionByMember().
Referenced by getByContext().
|
protected |
Definition at line 11 of file class.ilTermsOfServiceTableDataProviderFactory.php.
Referenced by getDatabaseAdapter(), and setDatabaseAdapter().
const ilTermsOfServiceTableDataProviderFactory::CONTEXT_ACCEPTANCE_HISTORY = 'acceptance_history' |
Definition at line 13 of file class.ilTermsOfServiceTableDataProviderFactory.php.
Referenced by ilTermsOfServiceAcceptanceHistoryGUI\getAcceptanceHistoryTable(), ilTermsOfServiceTableDataProviderFactoryTest\testExceptionIsRaisedWhenAcceptanceHistoryProviderIsRequestedWithoutCompleteFactoryConfiguration(), ilTermsOfServiceTableDataProviderFactoryTest\testFactoryShouldReturnAcceptanceHistoryProviderWhenRequested(), ilTermsOfServiceAcceptanceHistoryProviderTest\testHistoryProviderCanBeCreatedByFactory(), ilTermsOfServiceAcceptanceHistoryProviderTest\testListCanBeRetrieved(), and ilTermsOfServiceAcceptanceHistoryProviderTest\testRetrievingListThrowsExceptionsWhenInvalidArgumentsArePassed().
const ilTermsOfServiceTableDataProviderFactory::CONTEXT_DOCUMENTS = 'documents' |
Definition at line 14 of file class.ilTermsOfServiceTableDataProviderFactory.php.
Referenced by ilTermsOfServiceDocumentGUI\showDocuments(), and ilTermsOfServiceDocumentTableDataProviderTest\testDocumentProviderCanBeCreatedByFactory().