protected static function get_component_filename($component) {
        if (is_null(self::$components)) {
            self::$components = self::list_components();
        }
        $return = false;
        foreach (self::$components as $legacy => $normalized) {
            if ($component === $normalized) {
                $return = $legacy.'.php';
                break;
            }
        }
        return $return;
    }
protected static function get_component_filename($component) {
        if (is_null(self::$components)) {
            self::$components = self::list_components();
        }
        $return = false;
        foreach (self::$components as $legacy => $normalized) {
            if ($component === $normalized) {
                $return = $legacy.'.php';
                break;
            }
        }
        return $return;
    }
protected static function get_component_filename ( $ component ) { if ( is_null ( self :: $ components ) ) { self :: $ components = self :: list_components ( ) ; } $ return = false ; foreach ( self :: $ components as $ legacy => $ normalized ) { if ( $ component === $ normalized ) { $ return = $ legacy . '.php' ; break ; } } return $ return ; }
Returns the name of the file where the component's local strings should be exported into

@param string $component normalized name of the component, eg 'core' or 'mod_workshop'
@return string|boolean filename eg 'moodle.php' or 'workshop.php', false if not found
Returns the name of the file where the component s local strings should be exported into