[ Index ] |
PHP Cross Reference of Joomla 4.2.2 documentation |
[Source view] [Print] [Project Stats]
Joomla! Content Management System
Copyright: | (C) 2008 Open Source Matters, Inc. |
License: | GNU General Public License version 2 or later; see LICENSE.txt |
File Size: | 287 lines (9 kb) |
Included or required: | 0 times |
Referenced: | 2 times |
Includes or requires: | 0 files |
_getStackLocation() X-Ref |
Gets the reference to the current direct parent return: string |
_getLastTag() X-Ref |
Gets the reference to the last tag return: object |
toggleUpdateSite($updateSiteId, $enabled = true) X-Ref |
Toggles the enabled status of an update site. Update sites are disabled before getting the update information from their URL and enabled afterwards. If the URL fetch fails with a PHP fatal error (e.g. timeout) the faulty update site will remain disabled the next time we attempt to load the update information. param: int $updateSiteId The numeric ID of the update site to enable/disable param: bool $enabled Enable the site when true, disable it when false return: void |
getUpdateSiteName($updateSiteId) X-Ref |
Get the name of an update site. This is used in logging. param: int $updateSiteId The numeric ID of the update site return: string The name of the update site or an empty string if it's not found |
getUpdateSiteResponse($options = array() X-Ref |
Try to get the raw HTTP response from the update site, hopefully containing the update XML. param: array $options The update options, see findUpdate() in children classes return: \Joomla\CMS\Http\Response|bool False if we can't connect to the site, HTTP Response object otherwise |
Generated: Wed Sep 7 05:41:13 2022 | Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer |