\FOFRenderAbstract
Abstract view renderer class. The renderer is what turns XML view templates into actual HTML code, renders the submenu links and potentially wraps the HTML output in a div with a component-specific ID.
Synopsis
class FOFRenderAbstract
{
- // methods
- public getInformation()
- public abstract void preRender()
- public abstract void postRender()
- public string renderForm()
- public void renderCategoryLinkbar()
- protected abstract string renderFormBrowse()
- protected abstract string renderFormRead()
- protected abstract string renderFormEdit()
- protected abstract string renderFormRaw()
Hierarchy
Extended by
Members
protected
- $enabled — int
- $priority — int
Methods
protected
- renderFormBrowse() — Renders a FOFForm for a Browse view and returns the corresponding HTML
- renderFormEdit() — Renders a FOFForm for an Edit view and returns the corresponding HTML
- renderFormRaw() — Renders a raw FOFForm and returns the corresponding HTML
- renderFormRead() — Renders a FOFForm for a Read view and returns the corresponding HTML
public
- getInformation() — Returns the information about this renderer
- postRender() — Echoes any HTML to show after the view template
- preRender() — Echoes any HTML to show before the view template
- renderCategoryLinkbar() — Renders the submenu (link bar) for a category view when it is used in a extension
- renderForm() — Renders a FOFForm and returns the corresponding HTML