protected function get_social_indicator($modname) {
        $indicators = \core_analytics\manager::get_all_indicators();
        foreach ($indicators as $indicator) {
            if ($indicator instanceof community_of_inquiry_activity &&
                    $indicator->get_indicator_type() === community_of_inquiry_activity::INDICATOR_SOCIAL &&
                    $indicator->get_activity_type() === $modname) {
                return $indicator;
            }
        }
        return false;
    }
protected function get_social_indicator($modname) {
        $indicators = \core_analytics\manager::get_all_indicators();
        foreach ($indicators as $indicator) {
            if ($indicator instanceof community_of_inquiry_activity &&
                    $indicator->get_indicator_type() === community_of_inquiry_activity::INDICATOR_SOCIAL &&
                    $indicator->get_activity_type() === $modname) {
                return $indicator;
            }
        }
        return false;
    }
protected function get_social_indicator ( $ modname ) { $ indicators = \ core_analytics \ manager :: get_all_indicators ( ) ; foreach ( $ indicators as $ indicator ) { if ( $ indicator instanceof community_of_inquiry_activity && $ indicator -> get_indicator_type ( ) === community_of_inquiry_activity :: INDICATOR_SOCIAL && $ indicator -> get_activity_type ( ) === $ modname ) { return $ indicator ; } } return false ; }
Returns the social breadth class of this indicator.

@param string $modname
@return \core_analytics\local\indicator\base|false
Returns the social breadth class of this indicator .