You are here

interface AjaxControllerInterface in Forena Reports 8

Hierarchy

Expanded class hierarchy of AjaxControllerInterface

All classes that implement AjaxControllerInterface

File

src/Controller/AjaxControllerInterface.php, line 15

Namespace

Drupal\forena\Controller
View source
interface AjaxControllerInterface {

  /**
   * Initialize
   */
  public function initLayout();

  /**
   * @param \Drupal\forena\Controller\Route $route
   * @param $action
   * @param string $js_mode
   * @return mixed
   */
  public function page($action, $js_mode = 'nojs');

  /**
   * Route the requested action for the controller
   * @param string $action
   *   Indicates which action in the ajax controller is to be peformed.
   */
  public function route($action);

  /**
   * Return the response to the ajax request.
   * @param $action
   * @return array|RedirectResponse
   */
  public function response($action);

}

Members

Namesort descending Modifiers Type Description Overrides
AjaxControllerInterface::initLayout public function Initialize 1
AjaxControllerInterface::page public function 1
AjaxControllerInterface::response public function Return the response to the ajax request. 1
AjaxControllerInterface::route public function Route the requested action for the controller