◆ getByName()
ilTermsOfServiceDataGatewayFactory::getByName |
( |
|
$name | ) |
|
- Parameters
-
- Returns
- ilTermsOfServiceAcceptanceDatabaseGateway
- Exceptions
-
Definition at line 37 of file class.ilTermsOfServiceDataGatewayFactory.php.
References $name.
39 if (null == $this->db) {
40 require_once
'Services/TermsOfService/exceptions/class.ilTermsOfServiceMissingDatabaseAdapterException.php';
44 switch (strtolower(
$name)) {
45 case 'iltermsofserviceacceptancedatabasegateway':
46 require_once
'Services/TermsOfService/classes/class.ilTermsOfServiceAcceptanceDatabaseGateway.php';
◆ getDatabaseAdapter()
ilTermsOfServiceDataGatewayFactory::getDatabaseAdapter |
( |
| ) |
|
◆ setDatabaseAdapter()
ilTermsOfServiceDataGatewayFactory::setDatabaseAdapter |
( |
ilDBInterface |
$db | ) |
|
◆ $db
ilTermsOfServiceDataGatewayFactory::$db |
|
protected |
The documentation for this class was generated from the following file: