Class FOFRenderJoomla

Description

Default Joomla! 1.5, 1.7, 2.5 view renderer class

  • since: 2.0

Located in /libraries/fof/render/joomla.php (line 16)

FOFRenderAbstract
   |
   --FOFRenderJoomla
Method Summary
 FOFRenderJoomla __construct ()
 void loadValidationScript (FOFForm &$form)
 void postRender (string $view, string $task, FOFInput $input, [array $config = array()])
 void preRender (string $view, string $task, FOFInput $input, [array $config = array()])
 void renderButtons (string $view, string $task, FOFInput $input, [array $config = array()])
 string renderFormBrowse (FOFForm &$form, FOFModel $model, FOFInput $input)
 string renderFormEdit (FOFForm &$form, FOFModel $model, FOFInput $input)
 string renderFormRaw (FOFForm &$form, FOFModel $model, FOFInput $input, string $formType)
 string renderFormRead (FOFForm &$form, FOFModel $model, FOFInput $input)
 void renderLinkbar (string $view, string $task, FOFInput $input, [array $config = array()])
 void renderLinkbarItems (FOFToolbar $toolbar)
Variables
Methods
Constructor __construct (line 21)

Public constructor. Determines the priority of this class and if it should be enabled

  • access: public
FOFRenderJoomla __construct ()
loadValidationScript (line 464)

Loads the validation script for an edit form

  • access: protected
void loadValidationScript (FOFForm &$form)
  • FOFForm &$form: The form we are rendering
postRender (line 77)

Echoes any HTML to show after the view template

  • access: public
void postRender (string $view, string $task, FOFInput $input, [array $config = array()])
  • string $view: The current view
  • string $task: The current task
  • FOFInput $input: The input array (request parameters)
  • array $config: The view configuration array

Redefinition of:
FOFRenderAbstract::postRender()
Echoes any HTML to show after the view template
preRender (line 37)

Echoes any HTML to show before the view template

  • access: public
void preRender (string $view, string $task, FOFInput $input, [array $config = array()])
  • string $view: The current view
  • string $task: The current task
  • FOFInput $input: The input array (request parameters)
  • array $config: The view configuration array

Redefinition of:
FOFRenderAbstract::preRender()
Echoes any HTML to show before the view template
renderButtons (line 550)

Renders the toolbar buttons

  • access: protected
void renderButtons (string $view, string $task, FOFInput $input, [array $config = array()])
  • string $view: The active view name
  • string $task: The current task
  • FOFInput $input: The input object
  • array $config: Extra configuration variables for the toolbar
renderFormBrowse (line 109)

Renders a FOFForm for a Browse view and returns the corresponding HTML

  • return: The HTML rendering of the form
  • access: protected
string renderFormBrowse (FOFForm &$form, FOFModel $model, FOFInput $input)
  • FOFForm &$form: The form to render
  • FOFModel $model: The model providing our data
  • FOFInput $input: The input object

Redefinition of:
FOFRenderAbstract::renderFormBrowse()
Renders a FOFForm for a Browse view and returns the corresponding HTML
renderFormEdit (line 327)

Renders a FOFForm for an Edit view and returns the corresponding HTML

  • return: The HTML rendering of the form
  • access: protected
string renderFormEdit (FOFForm &$form, FOFModel $model, FOFInput $input)
  • FOFForm &$form: The form to render
  • FOFModel $model: The model providing our data
  • FOFInput $input: The input object

Redefinition of:
FOFRenderAbstract::renderFormEdit()
Renders a FOFForm for an Edit view and returns the corresponding HTML
renderFormRaw (line 402)

Renders a raw FOFForm and returns the corresponding HTML

  • return: The HTML rendering of the form
  • access: protected
string renderFormRaw (FOFForm &$form, FOFModel $model, FOFInput $input, string $formType)
  • FOFForm &$form: The form to render
  • FOFModel $model: The model providing our data
  • FOFInput $input: The input object
  • string $formType: The form type e.g. 'edit' or 'read'

Redefinition of:
FOFRenderAbstract::renderFormRaw()
Renders a raw FOFForm and returns the corresponding HTML
renderFormRead (line 311)

Renders a FOFForm for a Read view and returns the corresponding HTML

  • return: The HTML rendering of the form
  • access: protected
string renderFormRead (FOFForm &$form, FOFModel $model, FOFInput $input)
  • FOFForm &$form: The form to render
  • FOFModel $model: The model providing our data
  • FOFInput $input: The input object

Redefinition of:
FOFRenderAbstract::renderFormRead()
Renders a FOFForm for a Read view and returns the corresponding HTML
renderLinkbar (line 499)

Renders the submenu (link bar)

  • access: protected
void renderLinkbar (string $view, string $task, FOFInput $input, [array $config = array()])
  • string $view: The active view name
  • string $task: The current task
  • FOFInput $input: The input object
  • array $config: Extra configuration variables for the toolbar
renderLinkbarItems (line 527)

do the rendering job for the linkbar

  • access: protected
void renderLinkbarItems (FOFToolbar $toolbar)

Inherited Methods

Inherited From FOFRenderAbstract

 FOFRenderAbstract::getInformation()
 FOFRenderAbstract::postRender()
 FOFRenderAbstract::preRender()
 FOFRenderAbstract::renderCategoryLinkbar()
 FOFRenderAbstract::renderForm()
 FOFRenderAbstract::renderFormBrowse()
 FOFRenderAbstract::renderFormEdit()
 FOFRenderAbstract::renderFormRaw()
 FOFRenderAbstract::renderFormRead()

Documentation generated on Tue, 19 Nov 2013 15:06:12 +0100 by phpDocumentor 1.4.3