[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/administrator/components/com_contact/src/Extension/ -> ContactComponent.php (summary)

(no description)

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

Defines 1 class

ContactComponent:: (5 methods):
  boot()
  validateSection()
  getContexts()
  getTableNameForSection()
  getStateColumnForSection()


Class: ContactComponent  - X-Ref

Component class for com_contact

boot(ContainerInterface $container)   X-Ref
Booting the extension. This is the function to set up the environment of the extension like
registering new class loaders, etc.

If required, some initial set up can be done from services of the container, eg.
registering HTML services.

param: ContainerInterface  $container  The container
return: void

validateSection($section, $item = null)   X-Ref
Returns a valid section for the given section. 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

getTableNameForSection(string $section = null)   X-Ref
Returns the table for the count items functions for the given section.

param: string  $section  The section
return: string|null

getStateColumnForSection(string $section = null)   X-Ref
Returns the state column for the count items functions for the given section.

param: string  $section  The section
return: string|null



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