Class FOFViewRaw

Description

FrameworkOnFramework raw output class. It works like an HTML view, but the output is bare HTML.

  • since: 2.1

Located in /libraries/fof/view/raw.php (line 18)

JObject
   |
   --FOFView
      |
      --FOFViewRaw
Direct descendents
Class Description
 class FOFViewHtml FrameworkOnFramework HTML output class. Together with PHP-based view tempalates it will render your data into an HTML representation.
Variable Summary
 array $lists
 array $perms
Method Summary
 FOFViewRaw __construct ([array $config = array()])
 boolean|null display ([string $tpl = null])
 array getLists ()
 stdClass getPerms ()
 boolean|array hasAjaxOrderingSupport ()
 boolean onAdd ([string $tpl = null])
 boolean onBrowse ([string $tpl = null])
 boolean onDisplay ([string $tpl = null])
 boolean onEdit ([string $tpl = null])
 boolean onRead ([string $tpl = null])
 void postRender ()
 void preRender ()
Variables
Methods
Constructor __construct (line 31)

Class constructor

  • access: public
FOFViewRaw __construct ([array $config = array()])
  • array $config: Configuration parameters

Redefinition of:
FOFView::__construct()
Public constructor. Instantiates a FOFView object.

Redefined in descendants as:
display (line 87)

Displays the view

  • return: False if we can't render anything
  • access: public
boolean|null display ([string $tpl = null])
  • string $tpl: The template to use

Redefinition of:
FOFView::display()
Overrides the default method to execute and display a template script.

Redefined in descendants as:
getLists (line 304)

Returns the internal list of useful variables to the benefit of FOFFormHeader fields.

  • since: 2.0
  • access: public
array getLists ()
getPerms (line 314)

Returns a reference to the permissions object of this view

  • access: public
stdClass getPerms ()
hasAjaxOrderingSupport (line 251)

Determines if the current Joomla! version and your current table support AJAX-powered drag and drop reordering. If they do, it will set up the drag & drop reordering feature.

  • return: False if not suported, a table with necessary information (saveOrder: should you enabled DnD reordering; orderingColumn: which column has the ordering information).
  • access: public
boolean|array hasAjaxOrderingSupport ()
onAdd (line 204)

Executes before rendering the page for the Add task.

  • return: Return true to allow rendering of the page
  • access: protected
boolean onAdd ([string $tpl = null])
  • string $tpl: Subtemplate to use

Redefined in descendants as:
onBrowse (line 150)

Executes before rendering the page for the Browse task.

  • return: Return true to allow rendering of the page
  • access: protected
boolean onBrowse ([string $tpl = null])
  • string $tpl: Subtemplate to use

Redefined in descendants as:
onDisplay (line 166)

Executes before rendering a generic page, default to actions necessary for the Browse task.

  • return: Return true to allow rendering of the page
  • access: protected
boolean onDisplay ([string $tpl = null])
  • string $tpl: Subtemplate to use

Redefined in descendants as:
onEdit (line 220)

Executes before rendering the page for the Edit task.

  • return: Return true to allow rendering of the page
  • access: protected
boolean onEdit ([string $tpl = null])
  • string $tpl: Subtemplate to use
onRead (line 234)

Executes before rendering the page for the Read task.

  • return: Return true to allow rendering of the page
  • access: protected
boolean onRead ([string $tpl = null])
  • string $tpl: Subtemplate to use

Redefined in descendants as:
postRender (line 139)

Last chance to output something after rendering the view template and before returning to the caller

  • access: protected
void postRender ()

Redefined in descendants as:
  • FOFViewHtml::postRender() : Runs after rendering the view template, echoing HTML to put after the view template's generated HTML
preRender (line 129)

Last chance to output something before rendering the view template

  • access: protected
void preRender ()

Redefined in descendants as:
  • FOFViewHtml::preRender() : Runs before rendering the view template, echoing HTML to put before the view template's generated HTML

Inherited Methods

Inherited From FOFView

 FOFView::__construct()
 FOFView::addHelperPath()
 FOFView::addTemplatePath()
 FOFView::assign()
 FOFView::assignRef()
 FOFView::display()
 FOFView::escape()
 FOFView::findRenderer()
 FOFView::get()
 FOFView::getLayout()
 FOFView::getLayoutTemplate()
 FOFView::getModel()
 FOFView::getName()
 FOFView::getRenderer()
 FOFView::getViewOptionAndName()
 FOFView::loadAnyTemplate()
 FOFView::loadHelper()
 FOFView::loadTemplate()
 FOFView::registerRenderer()
 FOFView::setEscape()
 FOFView::setLayout()
 FOFView::setLayoutExt()
 FOFView::setModel()
 FOFView::setPostRender()
 FOFView::setPreRender()
 FOFView::setRenderer()
 FOFView::_addPath()
 FOFView::_createFileName()
 FOFView::_setPath()

Inherited From JObject

 JObject::__construct()
 JObject::def()
 JObject::get()
 JObject::getError()
 JObject::getErrors()
 JObject::getProperties()
 JObject::set()
 JObject::setError()
 JObject::setProperties()
 JObject::__toString()

Documentation generated on Tue, 19 Nov 2013 15:11:35 +0100 by phpDocumentor 1.4.3