[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/administrator/components/com_modules/src/Service/HTML/ -> Modules.php (summary)

(no description)

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

Defines 1 class

Modules:: (7 methods):
  templates()
  types()
  templateStates()
  state()
  positions()
  batchOptions()
  positionList()


Class: Modules  - X-Ref

HTMLHelper module helper class.

templates($clientId = 0, $state = '')   X-Ref
Builds an array of template options

param: integer  $clientId  The client id.
param: string   $state     The state of the template.
return: array

types()   X-Ref
Builds an array of template type options

return: array

templateStates()   X-Ref
Builds an array of template state options

return: array

state($value, $i, $enabled = true, $checkbox = 'cb')   X-Ref
Returns a published state on a grid

param: integer  $value     The state value.
param: integer  $i         The row index
param: boolean  $enabled   An optional setting for access control on the action.
param: string   $checkbox  An optional prefix for checkboxes.
return: string        The Html code

positions($clientId, $state = 1, $selectedPosition = '')   X-Ref
Display a batch widget for the module position selector.

param: integer  $clientId          The client ID.
param: integer  $state             The state of the module (enabled, unenabled, trashed).
param: string   $selectedPosition  The currently selected position for the module.
return: string   The necessary positions for the widget.

batchOptions()   X-Ref
Get a select with the batch action options

return: void

positionList($clientId = 0)   X-Ref
Method to get the field options.

param: integer  $clientId  The client ID
return: array  The field option objects.



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