Back to Joomla project (class list)

Class FormView - list of methods

Base class for a Joomla Form View
Class holding methods for displaying presentation data.

Extends

Package: Joomla\CMS\MVC\View
Copyright: (C) 2016 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
Located at: Joomla/MVC/View/FormView.php
Project: Joomla

Method Summary

public
(array $config)

Constructor
Parameters
  • array $config An optional associative array of configuration settings.
Show source code of this method: __construct Source Code

public void
(mixed $tpl = null)

Execute and display a template script.
Parameters
  • string $tpl The name of the template file to parse; automatically searches through the template paths.
Returns
  • void
-
  • \Exception
Show source code of this method: display Source Code

protected void
()

Prepare view data
Returns
  • void
Show source code of this method: initializeView Source Code

protected void
()

Add the page title and toolbar.
Returns
  • void
Since
  • 1.6
Show source code of this method: addToolbar Source Code

Properties Summary

protected \Joomla\CMS\Form\Form
$form
The \JForm object
protected object
$item
The active item
protected object
$state
The model state
protected \Joomla\CMS\Object\CMSObject
$canDo
The actions the user is authorised to perform
protected string
$toolbarTitle
The toolbar title
protected string
$toolbarIcon
The toolbar icon
protected string
$previewLink
The preview link
protected string
$helpLink
The help link

Tags Summary

Since
2.5.5