Class BannersViewBanners

Description

View class for a list of banners.

  • since: 1.6

Located in /administrator/components/com_banners/views/banners/view.html.php (line 19)

JObject
   |
   --JViewLegacy
      |
      --BannersViewBanners
Variable Summary
 mixed $categories
 mixed $items
 mixed $pagination
 mixed $state
Method Summary
 void addToolbar ()
 mixed display ([string $tpl = null])
 array getSortFields ()
Variables
mixed $categories (line 21)
  • access: protected
mixed $items (line 23)
  • access: protected
mixed $pagination (line 25)
  • access: protected
mixed $state (line 27)
  • access: protected

Inherited Variables

Inherited from JViewLegacy

JViewLegacy::$_basePath
JViewLegacy::$_charset
JViewLegacy::$_defaultModel
JViewLegacy::$_escape
JViewLegacy::$_layout
JViewLegacy::$_layoutExt
JViewLegacy::$_layoutTemplate
JViewLegacy::$_models
JViewLegacy::$_name
JViewLegacy::$_output
JViewLegacy::$_path
JViewLegacy::$_template

Inherited from JObject

JObject::$_errors
Methods
addToolbar (line 74)

Add the page title and toolbar.

  • since: 1.6
  • access: protected
void addToolbar ()
display (line 38)

Method to display the view.

  • return: A string if successful, otherwise a JError object.
  • since: 1.6
  • access: public
mixed display ([string $tpl = null])
  • string $tpl: A template file to load. [optional]

Redefinition of:
JViewLegacy::display()
Execute and display a template script.
getSortFields (line 159)

Returns an array of fields the table can be sorted by

  • return: Array containing the field name to sort by as the key and display text as value
  • since: 3.0
  • access: protected
array getSortFields ()

Inherited Methods

Inherited From JViewLegacy

 JViewLegacy::__construct()
 JViewLegacy::addHelperPath()
 JViewLegacy::addTemplatePath()
 JViewLegacy::assign()
 JViewLegacy::assignRef()
 JViewLegacy::display()
 JViewLegacy::escape()
 JViewLegacy::get()
 JViewLegacy::getForm()
 JViewLegacy::getLayout()
 JViewLegacy::getLayoutTemplate()
 JViewLegacy::getModel()
 JViewLegacy::getName()
 JViewLegacy::loadHelper()
 JViewLegacy::loadTemplate()
 JViewLegacy::setEscape()
 JViewLegacy::setLayout()
 JViewLegacy::setLayoutExt()
 JViewLegacy::setModel()
 JViewLegacy::_addPath()
 JViewLegacy::_createFileName()
 JViewLegacy::_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:17:48 +0100 by phpDocumentor 1.4.3