OEModule\OphCoCvi\components\OphCoCvi_AuthRules::getEventType PHP Method

getEventType() protected method

protected getEventType ( ) : EventType
return EventType
    protected function getEventType()
    {
        if (!isset($this->event_type)) {
            $this->event_type = \EventType::model()->findByAttributes(array('class_name' => 'OphCoCvi'));
        }
        return $this->event_type;
    }