<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

def as_text(self):
        '''Fetch and render all regions

        For search and test purposes

        just a prototype
        '''
        from leonardo.templatetags.leonardo_tags import _render_content

        request = get_anonymous_request(self)

        content = ''

        try:

            for region in [region.key
                           for region in self._feincms_all_regions]:
                content += ''.join(
                    _render_content(content, request=request, context={})
                    for content in getattr(self.content, region))
        except PermissionDenied:
            pass
        except Exception as e:
            LOG.exception(e)

        return content