API15

JControllerForm/display: Difference between revisions

From Joomla! Documentation

m removing red link to edit, no existant pages
m preparing for archive only
 
Line 31: Line 31:


===Examples===
===Examples===
<CodeExamplesForm />
=== Code Examples ===
<dpl>
<dpl>
  noresultsheader=\n
  noresultsheader=\n
  category=display
  category=display
  category=JControllerForm
  category=JControllerForm
  category=CodeExample
  namespace=CodeExample
  category=MethodExample
  category=MethodExample
  include=*
  include=*

Latest revision as of 00:25, 25 March 2017

Description

This controller does not have a display method. Redirect back to the list view of the component.

[<! removed edit link to red link >]

<! removed transcluded page call, red link never existed >

Syntax

display()


Defined in

libraries/joomla/application/component/controllerform.php

Importing

jimport( 'joomla.application.component.controllerform' );

Source Body

public function display()
{
        $this->setRedirect(JRoute::_('index.php?option='.$this->_option.'&view='.$this->_view_list, false));
}

[<! removed edit link to red link >] <! removed transcluded page call, red link never existed >

Examples

Code Examples