Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Fonctions membres publiques | |
templates ($clientId=0, $state='') | |
types () | |
templateStates () | |
state ($value, $i, $enabled=true, $checkbox='cb') | |
positions ($clientId, $state=1, $selectedPosition='') | |
batchOptions () | |
positionList ($clientId=0) | |
HTMLHelper module helper class.
batchOptions | ( | ) |
Get a select with the batch action options
Références $options, Text\_(), et HTMLHelper\_().
positionList | ( | $clientId = 0 | ) |
Method to get the field options.
integer | $clientId | The client ID |
Références $clientId, $db, $options, $query, Factory\getApplication(), Factory\getDbo(), ParameterType\INTEGER, et text.
positions | ( | $clientId, | |
$state = 1 , |
|||
$selectedPosition = '' |
|||
) |
Display a batch widget for the module position selector.
integer | $clientId | The client ID. |
integer | $state | The state of the module (enabled, unenabled, trashed). |
string | $selectedPosition | The currently selected position for the module. |
Références $app, $clientId, $option, $options, $position, $positions, $state, $template, $text, Text\_(), HTMLHelper\_(), ModulesHelper\createOption(), ModulesHelper\createOptionGroup(), Factory\getApplication(), ModulesHelper\getPositions(), TemplatesHelper\getPositions(), ModulesHelper\getTemplates(), ModulesHelper\getTranslatedModulePosition(), et ArrayHelper\sortObjects().
state | ( | $value, | |
$i, | |||
$enabled = true , |
|||
$checkbox = 'cb' |
|||
) |
Returns a published state on a grid
integer | $value | The state value. |
integer | $i | The row index |
boolean | $enabled | An optional setting for access control on the action. |
string | $checkbox | An optional prefix for checkboxes. |
Références $enabled, $i, $value, et HTMLHelper\_().
templates | ( | $clientId = 0 , |
|
$state = '' |
|||
) |
Builds an array of template options
integer | $clientId | The client id. |
string | $state | The state of the template. |
Références $clientId, $options, $state, $template, HTMLHelper\_(), et ModulesHelper\getTemplates().
templateStates | ( | ) |
types | ( | ) |