Detailed Description
Member Function Documentation
ilTermsOfServiceEntityFactory::getByName |
( |
|
$name | ) |
|
- Parameters
-
- Returns
- ilTermsOfServiceAcceptanceEntity
- Exceptions
-
Definition at line 15 of file class.ilTermsOfServiceEntityFactory.php.
{
switch(strtolower($name))
{
case 'iltermsofserviceacceptanceentity':
require_once 'Services/TermsOfService/classes/class.ilTermsOfServiceAcceptanceEntity.php';
default:
throw new InvalidArgumentException('Entity not supported');
}
}
The documentation for this class was generated from the following file: