[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/src/Extension/ -> ExtensionHelper.php (summary)

Joomla! Content Management System

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

Defines 1 class

ExtensionHelper:: (4 methods):
  getCoreExtensions()
  getCoreExtensionIds()
  checkIfCoreExtension()
  getExtensionRecord()


Class: ExtensionHelper  - X-Ref

Extension Helper class.

getCoreExtensions()   X-Ref
Gets the core extensions.

return: array  Array with core extensions.

getCoreExtensionIds()   X-Ref
Returns an array of core extension IDs.

return: array

checkIfCoreExtension($type, $element, $clientId = 0, $folder = '')   X-Ref
Check if an extension is core or not

param: string   $type      The extension's type.
param: string   $element   The extension's element name.
param: integer  $clientId  The extension's client ID. Default 0.
param: string   $folder    The extension's folder. Default ''.
return: boolean  True if core, false if not.

getExtensionRecord(string $element, string $type, ?int $clientId = null, ?string $folder = null)   X-Ref
Returns an extension record for the given name.

param: string        $element   The extension element
param: string        $type      The extension type
param: integer|null  $clientId  The client ID
param: string|null   $folder    Plugin folder
return: \stdClass|null  The object or null if not found.



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