Joomla CMS  4.2.2
Documentation des API du CMS Joomla en version 4.2.2
Référence du fichier layouts/joomla/menu/edit_modules.php

Espaces de nommage

 Joomla\Administrator
 

Variables

 $app = Factory::getApplication()
 
 $form = $displayData->getForm()
 
 $input = $app->input
 
 $component = $input->getCmd('option', 'com_content')
 
if($component=='com_categories') $saveHistory = ComponentHelper::getParams($component)->get('save_history', 0)
 
 $fields
 
 $hiddenFields = $displayData->get('hidden_fields') ?: array()
 
if(! $saveHistory) $html = array()
 
 $html [] = '<fieldset><ul class="list-unstyled">'
 

Documentation des variables

◆ $app

$app = Factory::getApplication()

◆ $component

$component = $input->getCmd('option', 'com_content')

◆ $fields

Valeur initiale :
= $displayData->get('fields') ?: array(
array('parent', 'parent_id'),
array('published', 'state', 'enabled'),
array('category', 'catid'),
'featured',
'sticky',
'access',
'language',
'tags',
'note',
'version_note',
)
$displayData
Definition: administrator/components/com_banners/tmpl/banners/emptystate.php:16

Référencé par Table\__construct(), SqliteQuery\__toString(), ContactController\_sendEmail(), OnGetApiFields\addFields(), OnGetApiFields\addRelations(), JoomlaInstallerScript\addUserAuthProviderColumn(), ArticleModel\batchMove(), TaskTable\bind(), DegradedUuidBuilder\build(), DefaultUuidBuilder\build(), DatabaseExporter\buildXmlData(), PgsqlExporter\buildXmlStructure(), MysqlExporter\buildXmlStructure(), MysqliExporter\buildXmlStructure(), LevelModel\canDelete(), PgSqlCaster\castResult(), CheckinModel\checkin(), ArticleModel\cleanupPostBatchCopy(), PrivacyPlugin\createCustomFieldsDomain(), StringCodec\decode(), HtmlView\display(), PlgSystemFields\display(), StringCodec\encode(), OrderedTimeCodec\encodeBinary(), Collection\fields(), Form\filter(), Form\findField(), Form\findFieldsByFieldset(), Form\findFieldsByGroup(), Form\findGroup(), CMSHelper\getDataObject(), Item\getFields(), FieldsHelper\getFields(), Parameters\getFields(), HtmlView\getFields(), Table\getFields(), Form\getFieldset(), FieldsHelper\getFieldTypes(), FinderHelper\getGetFields(), Form\getGroup(), CheckinModel\getItems(), AssociationsModel\getListQuery(), Nested\getRootId(), CMSHelper\getRowData(), CronExpression\getRunDate(), Parameters\getSort(), PgsqlDriver\getTableColumns(), SqliteDriver\getTableColumns(), MysqlDriver\getTableColumns(), MysqliDriver\getTableColumns(), AssociationExtensionHelper\getType(), AssociationsHelper\getType(), AssociationExtensionHelper\getTypeFieldName(), MysqlDriver\insertObject(), MysqliDriver\insertObject(), PgsqlDriver\insertObject(), DatabaseDriver\insertObject(), Form\load(), Table\load(), UCMContent\mapData(), Form\mergeNodes(), Nested\moveByReference(), PlgSystemFields\onContentPrepare(), PlgUserProfile\onContentPrepareForm(), SMTP\parseHelloFields(), Form\postProcess(), PlgContentFields\prepare(), NewsfeedModel\preprocessForm(), CategoryModel\preprocessForm(), ContactModel\preprocessForm(), ArticleModel\preprocessForm(), ItemModel\preprocessForm(), Nested\rebuildPath(), Form\renderFieldset(), Form\setField(), PgsqlDriver\updateObject(), DatabaseDriver\updateObject(), ConfigurationModel\updateUserIds(), UuidFactory\uuid(), UuidFactory\uuidFromHashedName(), et Form\validate().

◆ $form

$form = $displayData->getForm()

◆ $hiddenFields

$hiddenFields = $displayData->get('hidden_fields') ?: array()

◆ $html [1/2]

if (! $saveHistory) $html = array()

◆ $html [2/2]

foreach ( $fields as $field) $html[] = '<fieldset><ul class="list-unstyled">'

◆ $input

$input = $app->input

◆ $saveHistory

if ( $component=='com_categories') $saveHistory = ComponentHelper::getParams($component)->get('save_history', 0)