| ILIAS
    Release_4_4_x_branch Revision 61816
    | 
 Collaboration diagram for ilTermsOfServiceTableDataProviderFactory:
 Collaboration diagram for ilTermsOfServiceTableDataProviderFactory:| 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().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilTermsOfServiceTableDataProviderFactory::getDatabaseAdapter | ( | ) | 
Definition at line 121 of file class.ilTermsOfServiceTableDataProviderFactory.php.
References $db.
Referenced by getByContext(), and ilTermsOfServiceTableDataProviderFactoryTest\testFactoryShouldReturnDatabaseAdapterWhenDatabaseAdapterIsSet().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | protected | 
| string | $member | 
| InvalidArgumentException | 
Definition at line 77 of file class.ilTermsOfServiceTableDataProviderFactory.php.
Referenced by validateConfiguration().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilTermsOfServiceTableDataProviderFactory::getLanguageAdapter | ( | ) | 
Definition at line 105 of file class.ilTermsOfServiceTableDataProviderFactory.php.
References $lng.
Referenced by ilTermsOfServiceTableDataProviderFactoryTest\testFactoryShouldReturnLanguageAdapterWhenLanguageAdapterIsSet().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 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().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 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().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | protected | 
| array | $mandatory_members | 
| ilTermsOfServiceMissingLanguageAdapterException | |
| ilTermsOfServiceMissingDatabaseAdapterException | 
Definition at line 60 of file class.ilTermsOfServiceTableDataProviderFactory.php.
References getExceptionByMember().
Referenced by getByContext().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | 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().