Joomla CMS  4.2.2
Documentation des API du CMS Joomla en version 4.2.2
Référence du fichier administrator/components/com_fields/tmpl/fields/default.php

Espaces de nommage

 Joomla\Administrator
 

Variables

 $wa = $this->document->getWebAssetManager()
 
 $app = Factory::getApplication()
 
 $user = Factory::getUser()
 
 $userId = $user->get('id')
 
 $context = $this->escape($this->state->get('filter.context'))
 
 $component = $this->state->get('filter.component')
 
 $section = $this->state->get('filter.section')
 
 $listOrder = $this->escape($this->state->get('list.ordering'))
 
 $listDirn = $this->escape($this->state->get('list.direction'))
 
 $ordering = ($listOrder == 'a.ordering')
 
 $saveOrder = ($listOrder == 'a.ordering' && strtolower($listDirn) == 'asc')
 
 $category = Categories::getInstance(str_replace('com_', '', $component) . '.' . $section)
 
if(! $category) if($saveOrder &&!empty($this->items)) $searchToolsOptions = []
 
 if (count( $this->filterForm->getField( 'context') ->options) > 1)
 
else __pad0__
 
 endif
 
 $canEdit = $user->authorise('core.edit', $component . '.field.' . $item->id)
 
 $canCheckin = $user->authorise('core.admin', 'com_checkin') || $item->checked_out == $userId || is_null($item->checked_out)
 
 $canEditOwn = $user->authorise('core.edit.own', $component . '.field.' . $item->id) && $item->created_user_id == $userId
 
 $canChange = $user->authorise('core.edit.state', $component . '.field.' . $item->id) && $canCheckin
 
 $iconClass = ''
 
else __pad1__
 
else __pad2__
 

Documentation des variables

◆ $app

$app = Factory::getApplication()

◆ $canChange

$canChange = $user->authorise('core.edit.state', $component . '.field.' . $item->id) && $canCheckin

◆ $canCheckin

$canCheckin = $user->authorise('core.admin', 'com_checkin') || $item->checked_out == $userId || is_null($item->checked_out)

◆ $canEdit

$canEdit = $user->authorise('core.edit', $component . '.field.' . $item->id)

◆ $canEditOwn

$canEditOwn = $user->authorise('core.edit.own', $component . '.field.' . $item->id) && $item->created_user_id == $userId

◆ $category

◆ $component

$component = $this->state->get('filter.component')

◆ $context

$context = $this->escape($this->state->get('filter.context'))

Référencé par FormController\__construct(), LogEntry\__construct(), Stream\__construct(), BufferingLogger\__destruct(), ItemController\add(), FormController\add(), Log\add(), PlgSampledataMultilang\addAssociations(), ActionlogModel\addLog(), AbstractLogger\alert(), FieldModel\batchMove(), ItemController\cancel(), OverrideController\cancel(), FormController\cancel(), TransitionModel\canEditState(), StageModel\canEditState(), Dispatcher\checkAccess(), BaseController\checkEditId(), PlgContentJoomla\checkMenuItemBeforeSave(), AssociationsModel\clean(), GroupModel\cleanCache(), FieldModel\cleanCache(), FieldModel\cleanupValues(), AbstractCloner\cloneVar(), Stream\copy(), PrivacyPlugin\createCustomFieldsDomain(), AbstractLogger\critical(), ParagonIE_Sodium_Compat\crypto_kdf_derive_from_key(), AbstractLogger\debug(), MapsModel\delete(), IndexModel\delete(), StyleModel\delete(), ModuleModel\delete(), AdminModel\delete(), Stream\delete(), HtmlDescriptor\describe(), CliDescriptor\describe(), TraceableTwigEnvironment\display(), HtmlView\display(), PlgSystemFields\display(), PlgContentVote\displayVotingData(), Parser\doParse(), ContextualizedDumper\dump(), StyleModel\duplicate(), OverrideController\edit(), TemplateController\edit(), FormController\edit(), AbstractLogger\emergency(), PlgWorkflowFeaturing\enhanceItemForm(), PlgWorkflowPublishing\enhanceItemForm(), AbstractLogger\error(), ServerDumpCommand\execute(), HtmlDescriptor\extractDate(), ArticleModel\featured(), HtmlErrorRenderer\formatLogMessage(), Joomla\getActionLogParams(), Associations\getAssociations(), AssociationsHelper\getAssociations(), QuickIconHelper\getButtons(), ContentComponent\getCategoryWorkflowContext(), QuickIconsEvent\getContext(), SourceContextProvider\getContext(), OAuthCallbackEvent\getContext(), Joomlaupdate\getCoreUpdateNotification(), FieldsHelper\getFields(), GroupModel\getForm(), TransitionModel\getForm(), FieldModel\getForm(), ItemtypeField\getGroups(), FieldsModel\getGroups(), GroupsModel\getListQuery(), FieldsModel\getListQuery(), ActionlogConfigModel\getLogContentTypeParams(), ActionlogsHelper\getLogContentTypeParams(), FormController\getModel(), Joomla\CMS\Workflow\getModelName(), ContentComponent\getModelName(), FieldgroupsField\getOptions(), ExtensionField\getOptions(), ComponentsFieldgroupField\getOptions(), ComponentsFieldsField\getOptions(), ComponentsWorkflowField\getOptions(), SubfieldsField\getOptions(), Factory\getStream(), AssociationsHelper\getSupportedExtension(), TransitionModel\getWorkflow(), ErrorHandler\handleError(), BaseController\holdEditId(), Indexer\index(), AbstractLogger\info(), Shortcut\initialize(), ConsoleLogger\interpolate(), MessagesCollector\interpolate(), PlgWorkflowNotification\isSupported(), PlgWorkflowFeaturing\isSupported(), PlgWorkflowPublishing\isSupported(), Joomla\CMS\Workflow\isWorkflowActive(), DumpServer\listen(), GroupModel\loadFormData(), BufferingLogger\log(), ConsoleLogger\log(), DelegatingPsrLogger\log(), MessagesCollector\log(), TraceableTwigEnvironment\mergeGlobals(), Stream\move(), AbstractLogger\notice(), Joomla\onAfterCheckin(), Joomla\onAfterDispatch(), Joomla\onAfterLogExport(), Joomla\onAfterLogPurge(), Joomla\onAfterPurge(), Adapter\onBeforeIndex(), Adapter\onBuildIndex(), PlgContentFinder\onContentAfterDelete(), Joomla\onContentAfterDelete(), PlgContentVote\onContentAfterDisplay(), PlgSystemFields\onContentAfterDisplay(), PlgContentFinder\onContentAfterSave(), PlgContentJoomla\onContentAfterSave(), Joomla\onContentAfterSave(), PlgSystemFields\onContentAfterTitle(), PlgContentJoomla\onContentBeforeChangeState(), PlgWorkflowPublishing\onContentBeforeChangeState(), PlgContentJoomla\onContentBeforeDelete(), PlgContentPagenavigation\onContentBeforeDisplay(), PlgContentVote\onContentBeforeDisplay(), PlgSystemFields\onContentBeforeDisplay(), PlgMediaActionResize\onContentBeforeSave(), PlgContentFinder\onContentBeforeSave(), PlgFieldsSql\onContentBeforeSave(), PlgContentJoomla\onContentBeforeSave(), PlgContentFinder\onContentChangeState(), Joomla\onContentChangeState(), PlgContentJoomla\onContentChangeState(), PlgSystemFields\onContentNormaliseRequestData(), PlgContentFields\onContentPrepare(), PlgContentEmailcloak\onContentPrepare(), PlgContentLoadmodule\onContentPrepare(), PlgContentContact\onContentPrepare(), PlgContentPagebreak\onContentPrepare(), PlgSystemFields\onContentPrepare(), PlgUserProfile\onContentPrepareData(), PlgUserToken\onContentPrepareData(), PlgSystemActionLogs\onContentPrepareData(), PlgWorkflowNotification\onContentPrepareForm(), PlgWorkflowPublishing\onContentPrepareForm(), PlgWorkflowFeaturing\onContentPrepareForm(), PlgSystemFields\onContentPrepareForm(), PlgWorkflowFeaturing\onContentVersioningPrepareTable(), PlgWorkflowPublishing\onContentVersioningPrepareTable(), PlgFieldsList\onCustomFieldsPrepareField(), PlgFieldsSubform\onCustomFieldsPrepareField(), PlgButtonFields\onDisplay(), Joomla\onExtensionAfterDelete(), Joomla\onExtensionAfterInstall(), Joomla\onExtensionAfterSave(), Joomla\onExtensionAfterUninstall(), Joomla\onExtensionAfterUpdate(), PlgFinderTags\onFinderAfterDelete(), PlgFinderNewsfeeds\onFinderAfterDelete(), PlgFinderContacts\onFinderAfterDelete(), PlgFinderContent\onFinderAfterDelete(), PlgFinderTags\onFinderAfterSave(), PlgFinderCategories\onFinderAfterSave(), PlgFinderContacts\onFinderAfterSave(), PlgFinderNewsfeeds\onFinderAfterSave(), PlgFinderContent\onFinderAfterSave(), PlgFinderTags\onFinderBeforeSave(), PlgFinderCategories\onFinderBeforeSave(), PlgFinderNewsfeeds\onFinderBeforeSave(), PlgFinderContacts\onFinderBeforeSave(), PlgFinderContent\onFinderBeforeSave(), PlgFinderTags\onFinderChangeState(), PlgFinderCategories\onFinderChangeState(), PlgFinderNewsfeeds\onFinderChangeState(), PlgFinderContacts\onFinderChangeState(), PlgFinderContent\onFinderChangeState(), PlgFinderCategories\onFinderDelete(), PlgQuickiconPrivacyCheck\onGetIcons(), PlgQuickiconDownloadkey\onGetIcons(), PlgQuickiconExtensionupdate\onGetIcons(), PlgQuickiconOverrideCheck\onGetIcons(), Joomla\onJoomlaAfterUpdate(), Adapter\onStartIndex(), Joomla\onUserAfterDelete(), Joomla\onUserAfterDeleteGroup(), Joomla\onUserAfterLogin(), Joomla\onUserAfterRemind(), Joomla\onUserAfterSave(), Joomla\onUserAfterSaveGroup(), Joomla\onUserLoginFailure(), Joomla\onUserLogout(), PlgWorkflowNotification\onWorkflowAfterTransition(), PlgWorkflowFeaturing\onWorkflowAfterTransition(), PlgWorkflowPublishing\onWorkflowAfterTransition(), PlgWorkflowFeaturing\onWorkflowBeforeTransition(), PlgWorkflowPublishing\onWorkflowBeforeTransition(), Stream\open(), Parser\parseValue(), WorkflowModel\populateState(), StageModel\populateState(), TransitionModel\populateState(), GroupsModel\populateState(), FieldsModel\populateState(), GroupModel\populateState(), FieldModel\populateState(), Content\prepare(), PlgContentFields\prepare(), Joomla\CMS\MVC\Model\preprocessData(), FormModel\preprocessData(), ManageModel\publish(), MapsModel\publish(), IndexModel\publish(), AdminModel\publish(), AssociationsModel\purge(), BaseController\releaseEditId(), TraceableTwigEnvironment\render(), FieldsHelper\render(), Stream\request(), StreamTransport\request(), StyleController\save(), OverrideController\save(), WorkflowModel\save(), StageModel\save(), TransitionModel\save(), ComponentModel\save(), LanguageModel\save(), TemplateModel\save(), CategoryModel\save(), FormController\save(), ModuleModel\save(), AdminModel\save(), ItemModel\save(), ActionlogModel\sendNotificationEmails(), QuickIconsEvent\setContext(), OAuthCallbackEvent\setContext(), Stream\setContextOptions(), Versioning\store(), Post\submit(), Joomla\CMS\Workflow\supportFunctionality(), Indexer\tokenizeToDb(), Indexer\tokenizeToDbShort(), Stream\upload(), DisplayController\validateEntry(), AbstractLogger\warning(), et Connection\write().

◆ $iconClass

$iconClass = ''

◆ $listDirn

$listDirn = $this->escape($this->state->get('list.direction'))

◆ $listOrder

$listOrder = $this->escape($this->state->get('list.ordering'))

◆ $ordering

$ordering = ($listOrder == 'a.ordering')

◆ $saveOrder

$saveOrder = ($listOrder == 'a.ordering' && strtolower($listDirn) == 'asc')

◆ $searchToolsOptions

if (! $category) if ( $saveOrder &&!empty( $this->items)) $searchToolsOptions = []

◆ $section

$section = $this->state->get('filter.section')

◆ $user

$user = Factory::getUser()

◆ $userId

$userId = $user->get('id')

◆ $wa

$wa = $this->document->getWebAssetManager()

◆ __pad0__

else __pad0__

◆ __pad1__

else __pad1__

◆ __pad2__

else __pad2__

◆ endif

endif

◆ if

if($saveOrder) ( count($this->filterForm->getField('context') ->options)  ,
 
)