ILIAS  trunk Revision v11.0_alpha-1749-g1a06bdef097
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ilMembershipRegistrationCodes Interface Reference

Interface for all objects that offer registration with access codes. More...

+ Inheritance diagram for ilMembershipRegistrationCodes:
+ Collaboration diagram for ilMembershipRegistrationCodes:

Public Member Functions

 register (int $a_user_id)
 Register an user. More...
 

Static Public Member Functions

static lookupObjectsByCode (string $a_code)
 Lookup all objects with reg_access_code enabled and. More...
 

Detailed Description

Interface for all objects that offer registration with access codes.

Author
Stefan Meyer meyer.nosp@m.@lei.nosp@m.fos.c.nosp@m.om
Version
$Id$

Definition at line 27 of file interface.ilMembershipRegistrationCodes.php.

Member Function Documentation

◆ lookupObjectsByCode()

static ilMembershipRegistrationCodes::lookupObjectsByCode ( string  $a_code)
static

Lookup all objects with reg_access_code enabled and.

Returns
int[]

Implemented in ilObjCourse, and ilObjGroup.

◆ register()

ilMembershipRegistrationCodes::register ( int  $a_user_id)

Register an user.

Todo:
Throw exeption if registration is impossible due to other restrictions.

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