52 lines
1.1 KiB
PHP
52 lines
1.1 KiB
PHP
|
<?php
|
||
|
/**
|
||
|
* @package Joomla.Platform
|
||
|
* @subpackage Controller
|
||
|
*
|
||
|
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
|
||
|
* @license GNU General Public License version 2 or later; see LICENSE
|
||
|
*/
|
||
|
|
||
|
defined('JPATH_PLATFORM') or die;
|
||
|
|
||
|
/**
|
||
|
* Joomla Platform Controller Interface
|
||
|
*
|
||
|
* @package Joomla.Platform
|
||
|
* @subpackage Controller
|
||
|
* @since 12.1
|
||
|
*/
|
||
|
interface JController extends Serializable
|
||
|
{
|
||
|
/**
|
||
|
* Execute the controller.
|
||
|
*
|
||
|
* @return boolean True if controller finished execution, false if the controller did not
|
||
|
* finish execution. A controller might return false if some precondition for
|
||
|
* the controller to run has not been satisfied.
|
||
|
*
|
||
|
* @since 12.1
|
||
|
* @throws LogicException
|
||
|
* @throws RuntimeException
|
||
|
*/
|
||
|
public function execute();
|
||
|
|
||
|
/**
|
||
|
* Get the application object.
|
||
|
*
|
||
|
* @return JApplicationBase The application object.
|
||
|
*
|
||
|
* @since 12.1
|
||
|
*/
|
||
|
public function getApplication();
|
||
|
|
||
|
/**
|
||
|
* Get the input object.
|
||
|
*
|
||
|
* @return JInput The input object.
|
||
|
*
|
||
|
* @since 12.1
|
||
|
*/
|
||
|
public function getInput();
|
||
|
}
|