core.render.abstract ==================== .. py:module:: core.render.abstract Classes ------- .. autoapisummary:: core.render.abstract.AbstractRenderer Module Contents --------------- .. py:class:: AbstractRenderer(parent = None) Bases: :py:obj:`abc.ABC` Helper class that provides a standard way to create an ABC using inheritance. .. py:attribute:: parent :type: viur.core.module.Module | None :value: None .. py:property:: kind :type: str :abstractmethod: Renderer type specifier .. py:method:: list(skellist, action = 'list', params = None, **kwargs) :abstractmethod: Renders a response with a list of entries. :param skellist: List of Skeletons with entries to display. :param action: The name of the action, which is passed into the result. :param params: Optional data that will be passed unmodified to the template .. py:method:: view(skel, action = 'view', params = None, **kwargs) :abstractmethod: Renders a response for viewing an entry. .. py:method:: add(skel, action = 'add', params = None, **kwargs) Renders a response for adding an entry. .. py:method:: edit(skel, action = 'edit', params = None, **kwargs) Renders a response for modifying an entry.