[ Index ] |
PHP Cross Reference of Joomla 4.2.2 documentation |
[Source view] [Print] [Project Stats]
Joomla! Content Management System
Copyright: | (C) 2006 Open Source Matters, Inc. |
License: | GNU General Public License version 2 or later; see LICENSE.txt |
File Size: | 205 lines (6 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
ApplicationHelper:: (5 methods):
getComponentName()
getHash()
stringURLSafe()
getClientInfo()
addClientInfo()
Class: ApplicationHelper - X-Ref
Application helper functionsgetComponentName($default = null) X-Ref |
Return the name of the request component [main component] param: string $default The default option return: string Option (e.g. com_something) |
getHash($seed) X-Ref |
Provides a secure hash based on a seed param: string $seed Seed string. return: string A secure hash |
stringURLSafe($string, $language = '') X-Ref |
This method transliterates a string into a URL safe string or returns a URL safe UTF-8 string based on the global configuration param: string $string String to process param: string $language Language to transliterate to if unicode slugs are disabled return: string Processed string |
getClientInfo($id = null, $byName = false) X-Ref |
Gets information on a specific client id. This method will be useful in future versions when we start mapping applications in the database. This method will return a client information array if called with no arguments which can be used to add custom application information. param: integer|string|null $id A client identifier param: boolean $byName If true, find the client by its name return: \stdClass|array|void Object describing the client, array containing all the clients or void if $id not known |
addClientInfo($client) X-Ref |
Adds information for a client. param: mixed $client A client identifier either an array or object return: boolean True if the information is added. False on error |
Generated: Wed Sep 7 05:41:13 2022 | Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer |