[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/administrator/components/com_users/src/Extension/ -> UsersComponent.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: 99 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

UsersComponent:: (3 methods):
  boot()
  validateSection()
  getContexts()


Class: UsersComponent  - X-Ref

Component class for com_users

boot(ContainerInterface $container)   X-Ref
Booting the extension. This is the function to set up the environment of the extension like
registering new class loaders, etc.

If required, some initial set up can be done from services of the container, eg.
registering HTML services.

param: ContainerInterface  $container  The container
return: void

validateSection($section, $item = null)   X-Ref
Returns a valid section for the given section. If it is not valid then null is returned.

param: string       $section  The section to get the mapping for
param: object|null  $item     The content item or null
return: string|null  The new section or null

getContexts()   X-Ref
Returns valid contexts.

return: array  Associative array with contexts as keys and translated strings as values



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