[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/administrator/components/com_workflow/src/Controller/ -> StageController.php (summary)

(no description)

Copyright: (C) 2018 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
File Size: 177 lines (5 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

StageController:: (5 methods):
  __construct()
  allowAdd()
  allowEdit()
  getRedirectToItemAppend()
  getRedirectToListAppend()


Class: StageController  - X-Ref

The stage controller

__construct($config = array()   X-Ref
Constructor.

param: array                $config   An optional associative array of configuration settings.
param: MVCFactoryInterface  $factory  The factory.
param: CMSApplication       $app      The Application for the dispatcher
param: Input                $input    Input

allowAdd($data = array()   X-Ref
Method to check if you can add a new record.

param: array  $data  An array of input data.
return: boolean

allowEdit($data = array()   X-Ref
Method to check if you can edit a record.

param: array   $data  An array of input data.
param: string  $key   The name of the key for the primary key.
return: boolean

getRedirectToItemAppend($recordId = null, $urlVar = 'id')   X-Ref
Gets the URL arguments to append to an item redirect.

param: integer  $recordId  The primary key id for the item.
param: string   $urlVar    The name of the URL variable for the id.
return: string  The arguments to append to the redirect URL.

getRedirectToListAppend()   X-Ref
Gets the URL arguments to append to a list redirect.

return: string  The arguments to append to the redirect URL.



Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer