ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
ilTermsOfServiceEntityFactory Class Reference
+ Collaboration diagram for ilTermsOfServiceEntityFactory:

Public Member Functions

 getByName ($name)
 

Detailed Description

Author
Michael Jansen mjans.nosp@m.en@d.nosp@m.ataba.nosp@m.y.de
Version
$Id$

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

Member Function Documentation

◆ getByName()

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

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

References $name.

16  {
17  switch (strtolower($name)) {
18  case 'iltermsofserviceacceptanceentity':
19  require_once 'Services/TermsOfService/classes/class.ilTermsOfServiceAcceptanceEntity.php';
21 
22  default:
23  throw new InvalidArgumentException('Entity not supported');
24  }
25  }
if($format !==null) $name
Definition: metadata.php:146

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