Joomla CMS  4.2.2
Documentation des API du CMS Joomla en version 4.2.2
Référence du fichier transition-button.php

Espaces de nommage

 Joomla\Site
 

Variables

 $disabled = empty($options['transitions']) || !empty($options['disabled'])
 
 $id = $options['id']
 
 $tipTitle = $options['tip_title']
 
 $tipContent = $options['tip_content']
 
 $checkboxName = $options['checkbox_name']
 
 $task = $options['task']
 
 $default
 
 $transitions = array_merge($default, $options['transitions'])
 
 $attribs
 
 endif
 

Documentation des variables

◆ $attribs

$attribs
Valeur initiale :
= [
'id' => 'transition-select_' . (int) $row ?? ''

◆ $checkboxName

$checkboxName = $options['checkbox_name']

◆ $default

$default
Valeur initiale :
= [
HTMLHelper::_('select.option', '', $this->escape($options['title'])),
HTMLHelper::_('select.option', '-1', '--------', ['disable' => true])
]
$options
Definition: administrator/components/com_associations/tmpl/association/edit.php:27

Référencé par Input\__call(), LazyCommand\addArgument(), AbstractCommand\addArgument(), Command\addArgument(), LazyCommand\addOption(), AbstractCommand\addOption(), Command\addOption(), SymfonyStyle\ask(), SymfonyStyle\choice(), SymfonyStyle\confirm(), CMSObject\def(), Registry\def(), TextDescriptor\describeInputArgument(), TextDescriptor\describeInputOption(), RouteHelper\findItem(), TextDescriptor\formatDefaultValue(), DataSet\get(), Files\get(), CMSObject\get(), AbstractView\get(), AbstractApplication\get(), JoomlaStorage\get(), RuntimeStorage\get(), NativeStorage\get(), Input\get(), Session\get(), Registry\get(), Task\get(), Stream\get(), AbstractEvent\getArgument(), ServerRequest\getAttribute(), WebAssetItem\getAttribute(), FormField\getAttribute(), Form\getAttribute(), HttpFactory\getAvailableDriver(), QuickIconHelper\getButtons(), CMSApplication\getCfg(), Token\getClaim(), ApplicationHelper\getComponentName(), QuestionHelper\getDefaultAnswer(), LintCommand\getDirectoryIterator(), Dispatcher\getEvent(), Form\getFieldAttribute(), InstallerHelper\getFilenameFromUrl(), ExecRuleHelper\getFromTask(), Token\getHeader(), Parameters\getInput(), XmlDescriptor\getInputArgumentDocument(), XmlDescriptor\getInputOptionDocument(), LanguagesHelper\getList(), AbstractTransport\getOption(), Http\getOption(), WebAssetItem\getOption(), ActionButton\getOption(), ToolbarButton\getOption(), Client\getOption(), TransitionField\getOptions(), User\getParam(), BaseAccept\getParameter(), ArrayInput\getParameterOption(), ArgvInput\getParameterOption(), Installer\getPath(), ListenersPriorityQueue\getPriority(), Joomla\CMS\MVC\Model\getState(), CMSApplication\getUserState(), ListModel\getUserStateFromRequest(), CMSApplication\getUserStateFromRequest(), ArrayHelper\getValue(), Form\getValue(), AbstractUri\getVar(), Container\hasFlag(), Helper\isCommon(), LintCommand\isReadable(), Form\loadField(), Laminas\Diactoros\marshalUriFromSapi(), PlgUserToken\onUserAfterSave(), UpdatesitesModel\populateState(), MenuRules\preprocess(), PublishedButton\render(), TransitionButton\render(), FeaturedButton\render(), Form\renderField(), AbstractView\setModel(), CaptchaField\setup(), CheckboxField\setup(), ArrayHelper\toInteger(), et SymfonyQuestionHelper\writePrompt().

◆ $disabled

$disabled = empty($options['transitions']) || !empty($options['disabled'])

◆ $id

$id = $options['id']

◆ $task

$task = $options['task']

◆ $tipContent

$tipContent = $options['tip_content']

◆ $tipTitle

$tipTitle = $options['tip_title']

◆ $transitions

$transitions = array_merge($default, $options['transitions'])

◆ endif

endif
Valeur initiale :
=> [
'class' => 'form-select form-select-sm w-auto',
'onchange' => "this.form.transition_id.value=this.value;Joomla.listItemTask('" . $checkboxName . $this->escape($row ?? '') . "', '" . $task . "')"]
]
$checkboxName
Definition: transition-button.php:34
$task
Definition: transition-button.php:35