[ Index ] |
PHP Cross Reference of Joomla 4.2.2 documentation |
[Source view] [Print] [Project Stats]
(no description)
Copyright: | (C) 2017 Open Source Matters, Inc. |
License: | GNU General Public License version 2 or later; see LICENSE.txt |
File Size: | 107 lines (3 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
CategoriesHelper:: (3 methods):
getAssociations()
validateCategoryId()
createCategory()
Class: CategoriesHelper - X-Ref
Categories helper.getAssociations($pk, $extension = 'com_content') X-Ref |
Gets a list of associations for a given item. param: integer $pk Content item key. param: string $extension Optional extension name. return: array of associations. |
validateCategoryId($catid, $extension) X-Ref |
Check if Category ID exists otherwise assign to ROOT category. param: mixed $catid Name or ID of category. param: string $extension Extension that triggers this function return: integer $catid Category ID. |
createCategory($data) X-Ref |
Create new Category from within item view. param: array $data Array of data for new category. return: integer |
Generated: Wed Sep 7 05:41:13 2022 | Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer |