ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
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 32 of file class.ilTermsOfServiceEntityFactory.php.

33  {
34  switch (strtolower($name)) {
35  case 'iltermsofserviceacceptanceentity':
37 
38  default:
39  throw new InvalidArgumentException('Entity not supported');
40  }
41  }
if($format !==null) $name
Definition: metadata.php:247
Class ilTermsOfServiceAcceptanceEntity.

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