[ Index ] |
PHP Cross Reference of Joomla 4.2.2 documentation |
[Source view] [Print] [Project Stats]
Joomla! Content Management System
Copyright: | (C) 2018 Open Source Matters, Inc. |
License: | GNU General Public License version 2 or later; see LICENSE.txt |
File Size: | 280 lines (8 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
LegacyComponent:: (10 methods):
__construct()
getDispatcher()
getMVCFactory()
getCategory()
countItems()
countTagItems()
validateSection()
getContexts()
createRouter()
loadHelper()
Class: LegacyComponent - X-Ref
Access to component specific services.__construct(string $component) X-Ref |
LegacyComponentContainer constructor. param: string $component The component |
getDispatcher(CMSApplicationInterface $application) X-Ref |
Returns the dispatcher for the given application. param: CMSApplicationInterface $application The application return: DispatcherInterface |
getMVCFactory() X-Ref |
Get the factory. return: MVCFactoryInterface |
getCategory(array $options = [], $section = '') X-Ref |
Returns the category service. param: array $options The options param: string $section The section return: CategoryInterface |
countItems(array $items, string $section) X-Ref |
Adds Count Items for Category Manager. param: \stdClass[] $items The category objects param: string $section The section return: void |
countTagItems(array $items, string $extension) X-Ref |
Adds Count Items for Tag Manager. param: \stdClass[] $items The content objects param: string $extension The name of the active view. return: void |
validateSection($section, $item = null) X-Ref |
Returns a valid section for articles. If it is not valid then null is returned. param: string $section The section to get the mapping for param: object $item The item return: string|null The new section |
getContexts() X-Ref |
Returns valid contexts. return: array |
createRouter(CMSApplicationInterface $application, AbstractMenu $menu) X-Ref |
Returns the router. param: CMSApplicationInterface $application The application object param: AbstractMenu $menu The menu object to work with return: RouterInterface |
loadHelper() X-Ref |
Returns the classname of the legacy helper class. If none is found it returns false. return: boolean|string |
Generated: Wed Sep 7 05:41:13 2022 | Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer |