[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/src/Helper/ -> LibraryHelper.php (summary)

Joomla! Content Management System

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

Defines 1 class

LibraryHelper:: (5 methods):
  getLibrary()
  isEnabled()
  getParams()
  saveParams()
  loadLibrary()


Class: LibraryHelper  - X-Ref

Library helper class

getLibrary($element, $strict = false)   X-Ref
Get the library information.

param: string   $element  Element of the library in the extensions table.
param: boolean  $strict   If set and the library does not exist, the enabled attribute will be set to false.
return: \stdClass   An object with the library's information.

isEnabled($element)   X-Ref
Checks if a library is enabled

param: string  $element  Element of the library in the extensions table.
return: boolean

getParams($element, $strict = false)   X-Ref
Gets the parameter object for the library

param: string   $element  Element of the library in the extensions table.
param: boolean  $strict   If set and the library does not exist, false will be returned
return: Registry  A Registry object.

saveParams($element, $params)   X-Ref
Save the parameters object for the library

param: string    $element  Element of the library in the extensions table.
param: Registry  $params   Params to save
return: Registry|boolean  A Registry object.

loadLibrary($element)   X-Ref
Load the installed library into the libraries property.

param: string  $element  The element value for the extension
return: boolean  True on success



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