[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/api/components/com_categories/src/Controller/ -> CategoriesController.php (summary)

(no description)

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

Defines 1 class

CategoriesController:: (5 methods):
  preprocessSaveData()
  save()
  displayItem()
  displayList()
  getExtensionFromInput()


Class: CategoriesController  - X-Ref

The categories controller

preprocessSaveData(array $data)   X-Ref
Method to allow extended classes to manipulate the data to be saved for an extension.

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

save($recordKey = null)   X-Ref
Method to save a record.

param: integer  $recordKey  The primary key of the item (if exists)
return: integer  The record ID on success, false on failure

displayItem($id = null)   X-Ref
Basic display of an item view

param: integer  $id  The primary key to display. Leave empty if you want to retrieve data from the request
return: static  A \JControllerLegacy object to support chaining.

displayList()   X-Ref
Basic display of a list view

return: static  A \JControllerLegacy object to support chaining.

getExtensionFromInput()   X-Ref
Get extension from input

return: string



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