[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/administrator/components/com_config/src/Helper/ -> ConfigHelper.php (summary)

(no description)

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

Defines 1 class

ConfigHelper:: (5 methods):
  getAllComponents()
  hasComponentConfig()
  getComponentsWithConfig()
  loadLanguageForComponents()
  loadLanguageForComponent()


Class: ConfigHelper  - X-Ref

Components helper for com_config

getAllComponents()   X-Ref
Get an array of all enabled components.

return: array

hasComponentConfig($component)   X-Ref
Returns true if the component has configuration options.

param: string  $component  Component name
return: boolean

getComponentsWithConfig($authCheck = true)   X-Ref
Returns an array of all components with configuration options.
Optionally return only those components for which the current user has 'core.manage' rights.

param: boolean  $authCheck  True to restrict to components where current user has 'core.manage' rights.
return: array

loadLanguageForComponents($components)   X-Ref
Load the sys language for the given component.

param: array  $components  Array of component names.
return: void

loadLanguageForComponent($component)   X-Ref
Load the sys language for the given component.

param: string  $component  component name.
return: void



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