protected function init() {
        global $PAGE;

        $this->data['crud'] = 'r';
        $this->data['edulevel'] = self::LEVEL_OTHER;
        $this->context = $PAGE->context;
    }
protected function init() {
        global $PAGE;

        $this->data['crud'] = 'r';
        $this->data['edulevel'] = self::LEVEL_OTHER;
        $this->context = $PAGE->context;
    }
protected function init ( ) { global $ PAGE ; $ this -> data [ 'crud' ] = 'r' ; $ this -> data [ 'edulevel' ] = self :: LEVEL_OTHER ; $ this -> context = $ PAGE -> context ; }
Set basic properties of the event.
Set basic properties of the event .