[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/src/Categories/ -> CategoryFactory.php (summary)

Joomla! Content Management System

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

Defines 1 class

CategoryFactory:: (2 methods):
  __construct()
  createCategory()


Class: CategoryFactory  - X-Ref

Option based categories factory.

__construct($namespace)   X-Ref
The namespace must be like:
Joomla\Component\Content

param: string  $namespace  The namespace

createCategory(array $options = [], string $section = '')   X-Ref
Creates a category.

param: array   $options  The options
param: string  $section  The section
return: CategoryInterface



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