Joomla CMS  4.2.2
Documentation des API du CMS Joomla en version 4.2.2
Référence du fichier com_fields/layouts/fields/render.php

Espaces de nommage

 Joomla\Site
 

Variables

if(!array_key_exists('item', $displayData)||!array_key_exists('context', $displayData)) $item = $displayData['item']
 
if(! $item) $context = $displayData['context']
 
if(! $context) $parts = explode('.', $context)
 
 $component = $parts[0]
 
 $fields = null
 
if(array_key_exists('fields', $displayData)) else
 
if(empty($fields)) $output = array()
 
foreach($fields as $field) if (empty( $output))
 

Documentation des variables

◆ $component

$component = $parts[0]

◆ $context

if (! $item) $context = $displayData['context']

◆ $fields

◆ $item

if (!array_key_exists( 'item', $displayData)||!array_key_exists( 'context', $displayData)) $item = $displayData['item']

◆ $output

if (empty( $fields)) $output = array()

Référencé par AbstractDumper\__construct(), CliDumper\__construct(), HtmlDumper\__construct(), CliApplication\__construct(), ConsoleApplication\__construct(), Application\__construct(), ContactController\_sendEmail(), QuestionHelper\ask(), QuestionHelper\autocomplete(), ExtensionDiscoverCommand\configureIO(), SiteDownCommand\configureIO(), SiteUpCommand\configureIO(), ExtensionInstallCommand\configureIO(), ExtensionDiscoverInstallCommand\configureIO(), ExtensionsListCommand\configureIO(), SetConfigurationCommand\configureIO(), TasksListCommand\configureIO(), ListUserCommand\configureIO(), ExtensionRemoveCommand\configureIO(), UpdateCoreCommand\configureIO(), TasksRunCommand\configureIO(), GetConfigurationCommand\configureIO(), ChangeUserPasswordCommand\configureIO(), TasksStateCommand\configureIO(), DeleteUserCommand\configureIO(), FinderIndexCommand\configureIO(), AddUserToGroupCommand\configureIO(), RemoveUserFromGroupCommand\configureIO(), AddUserCommand\configureIO(), Application\configureIO(), PasswordHash\crypt_private(), BaseLayout\debug(), InstallationApplication\debugLanguage(), DescriptorHelper\describe(), HtmlDescriptor\describe(), CliDescriptor\describe(), HtmlView\display(), QuestionHelper\doAsk(), RemoveOldFilesCommand\doExecute(), CheckUpdatesCommand\doExecute(), SessionGcCommand\doExecute(), TasksRunCommand\doExecute(), TasksListCommand\doExecute(), ListUserCommand\doExecute(), CreateSessionTableCommand\doExecute(), SessionMetadataGcCommand\doExecute(), ChangeUserPasswordCommand\doExecute(), ExtensionDiscoverListCommand\doExecute(), DeleteUserCommand\doExecute(), SiteDownCommand\doExecute(), SiteUpCommand\doExecute(), RemoveUserFromGroupCommand\doExecute(), AddUserToGroupCommand\doExecute(), ImportCommand\doExecute(), CheckJoomlaUpdatesCommand\doExecute(), AddUserCommand\doExecute(), ExtensionDiscoverCommand\doExecute(), UpdateCoreCommand\doExecute(), ExtensionRemoveCommand\doExecute(), FinderIndexCommand\doExecute(), ExtensionInstallCommand\doExecute(), ExtensionDiscoverInstallCommand\doExecute(), ExtensionsListCommand\doExecute(), Application\doExecute(), GetConfigurationCommand\doExecute(), SetConfigurationCommand\doExecute(), Application\doRenderThrowable(), Application\doRun(), Application\doRunCommand(), Dumper\dump(), Inline\dump(), AbstractDumper\dump(), HtmlDumper\dump(), DebugBarVarDumper\dump(), Inline\dumpArray(), Icon\edit(), PasswordHash\encode64(), BaseLayout\escape(), SSH2\exec(), HelpCommand\execute(), ServerDumpCommand\execute(), DumpCompletionCommand\execute(), LintCommand\execute(), AbstractCommand\execute(), Bzip2\extract(), Gzip\extract(), Form\filter(), SSH2\format_log(), OutputFormatter\formatAndWrap(), DataFormatter\formatVar(), EvalBarrett\generateInlineMultiply(), PasswordHash\gensalt_blowfish(), PasswordHash\gensalt_private(), PasswordHash\get_random_bytes(), X509\getDN(), QuestionHelper\getHiddenResponse(), Symfony\Component\Console\Tester\getOutput(), CliApplication\getOutput(), SysinfoModel\getPHPInfo(), ANSI\getScreenHelper(), Hash\hash(), Terminal\hasSttyAvailable(), QuestionHelper\isInteractiveInput(), CaBundle\isOpensslParseSafe(), ManageModel\loadChangelog(), Directory\message(), PlgContentLoadmodule\onContentPrepare(), FieldsPlugin\onCustomFieldsPrepareField(), Inline\parseMapping(), Inline\parseQuotedScalar(), Inline\parseScalar(), Inline\parseSequence(), Core\pbkdf2(), Form\postProcess(), PlgContentFields\prepare(), ANSI\processCoordinate(), Application\renderThrowable(), ProcessHelper\run(), SingleCommandApplication\run(), LazyCommand\run(), Application\run(), Command\run(), Application\runCommand(), AbstractDumper\setOutput(), CliApplication\setOutput(), ApplicationHelper\stringURLSafe(), DumpCompletionCommand\tailDebugLog(), ArrayHelper\toString(), TranscodeUnicode\ucs4_ucs4array(), TranscodeUnicode\ucs4array_ucs4(), TranscodeUnicode\ucs4array_utf7(), TranscodeUnicode\ucs4array_utf8(), TranscodeUnicode\utf7_ucs4array(), TranscodeUnicode\utf8_ucs4array(), ProcessHelper\wrapCallback(), BashCompletionOutput\write(), SymfonyQuestionHelper\writeError(), QuestionHelper\writeError(), SymfonyQuestionHelper\writePrompt(), et QuestionHelper\writePrompt().

◆ $parts

if (! $context) $parts = explode('.', $context)

◆ else

if (array_key_exists( 'fields', $displayData)) else
Valeur initiale :
{
if(! $item) $context
Definition: com_fields/layouts/fields/render.php:27
static getFields( $context, $item=null, $prepareValue=false, array $valuesToOverride=null, bool $includeSubformFields=false)
Definition: FieldsHelper.php:101
if(!array_key_exists('item', $displayData)||!array_key_exists('context', $displayData)) $item
Definition: com_fields/layouts/fields/render.php:21
$fields
Definition: com_fields/layouts/fields/render.php:35

◆ if

foreach ( $fields as $field) if(empty($output))