API16

JController/getTask: Difference between revisions

From Joomla! Documentation

m clean up
m preparing for archive only
 
Line 30: Line 30:


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

Latest revision as of 01:25, 25 March 2017

Description

Get the last task that is or was to be performed.


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

Syntax

getTask()


Returns

string The task that was or is being performed.

Defined in

libraries/joomla/application/component/controller.php

Importing

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

Source Body

function getTask()
{
        return $this->_task;
}


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

Examples

Code Examples