JControllerForm/display: Difference between revisions
From Joomla! Documentation
m clean up |
m preparing for archive only |
||
| Line 27: | Line 27: | ||
===Examples=== | ===Examples=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=display | category=display | ||
category=JControllerForm | category=JControllerForm | ||
namespace=CodeExample | |||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
Latest revision as of 01:25, 25 March 2017
Description
This controller does not have a display method. Redirect back to the list view of the component.
<! 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 transcluded page call, red link never existed >
Examples
Code Examples