|
Stud.IP
6.1
|
Public Member Functions | |
| __construct (string $message, int $type=Information::INFO, string $codeword='', bool $enrolment_allowed=false) | |
| setEnrolmentAllowed (bool $enrolment_allowed) | |
| isEnrolmentAllowed () | |
Public Member Functions inherited from Information | |
| __construct (string $message='', int $type=Information::INFO, string $codeword='', ?\Range $range=null) | |
| getMessage () | |
| setMessage (string $message) | |
| getType () | |
| setType (int $type) | |
| getCodeword () | |
| setCodeword (string $codeword) | |
| getRange () | |
| setRange (\Range $range) | |
| __toString () | |
| toMessageBox (bool $verbose=false) | |
Protected Attributes | |
| bool | $enrolment_allowed = false |
Protected Attributes inherited from Information | |
| int | $type = Information::INFO |
| string | $codeword |
| string | $message |
| Range | $range = null |
Additional Inherited Members | |
Data Fields inherited from Information | |
| const | INFO = 0 |
| const | WARNING = 1 |
| const | ERROR = 2 |
The EnrolmentInformation class holds information regarding the ability of a user to enrol into a specific course.
| __construct | ( | string | $message, |
| int | $type = Information::INFO, |
||
| string | $codeword = '', |
||
| bool | $enrolment_allowed = false |
||
| ) |
| isEnrolmentAllowed | ( | ) |
The getter for the enrolment_allowed attribute.
| setEnrolmentAllowed | ( | bool | $enrolment_allowed | ) |
The setter for the enrolment_allowed attribute.
| bool | $enrolment_allowed | The new status for the enrolment_allowed attribute. |
|
protected |