ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
ilTermsOfServiceEntityFactory Class Reference

Class ilTermsOfServiceEntityFactory. More...

+ Collaboration diagram for ilTermsOfServiceEntityFactory:

Public Member Functions

 getByName (string $name)
 

Detailed Description

Member Function Documentation

◆ getByName()

ilTermsOfServiceEntityFactory::getByName ( string  $name)
Parameters
string$name
Returns
ilTermsOfServiceAcceptanceEntity
Exceptions
InvalidArgumentException

Definition at line 15 of file class.ilTermsOfServiceEntityFactory.php.

16 {
17 switch (strtolower($name)) {
18 case 'iltermsofserviceacceptanceentity':
20
21 default:
22 throw new InvalidArgumentException('Entity not supported');
23 }
24 }
Class ilTermsOfServiceAcceptanceEntity.
if($format !==null) $name
Definition: metadata.php:230

References $name.


The documentation for this class was generated from the following file: