ILIAS  Release_4_4_x_branch Revision 61816
 All Data Structures Namespaces Files Functions Variables Groups Pages
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

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

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: