protected static function define_related() {
        $related = parent::define_related();
        $related['daylink'] = \moodle_url::class;
        $related['type'] = '\core_calendar\type_base';
        $related['today'] = 'int';
        $related['moduleinstance'] = 'stdClass?';

        return $related;
    }
protected static function define_related() {
        $related = parent::define_related();
        $related['daylink'] = \moodle_url::class;
        $related['type'] = '\core_calendar\type_base';
        $related['today'] = 'int';
        $related['moduleinstance'] = 'stdClass?';

        return $related;
    }
protected static function define_related ( ) { $ related = parent :: define_related ( ) ; $ related [ 'daylink' ] = \ moodle_url :: class ; $ related [ 'type' ] = '\core_calendar\type_base' ; $ related [ 'today' ] = 'int' ; $ related [ 'moduleinstance' ] = 'stdClass?' ; return $ related ; }
Returns a list of objects that are related.

@return array
Returns a list of objects that are related .