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

Espaces de nommage

 Joomla\Administrator
 

Variables

 $wa = $this->document->getWebAssetManager()
 
 $app = Factory::getApplication()
 
 $user = Factory::getUser()
 
 $userId = $user->get('id')
 
 $listOrder = $this->escape($this->state->get('list.ordering'))
 
 $listDirn = $this->escape($this->state->get('list.direction'))
 
 $saveOrder = $listOrder == 'fp.ordering'
 
if(strpos($listOrder, 'publish_up') !==false) elseif(strpos($listOrder, 'publish_down') !==false) elseif(strpos($listOrder, 'modified') !==falseelse
 
if($saveOrder &&!empty($this->items)) $workflow_enabled = ComponentHelper::getParams('com_content')->get('workflow_enabled')
 
 $workflow_state = false
 
 $workflow_featured = false
 
 endif
 
 $assoc = Associations::isEnabled()
 
else __pad6__
 
 if ( $saveOrder)
 
 $count = count($this->items)
 
foreach($this->items as $i=> $item) $ordering = ($listOrder == 'fp.ordering')
 
 $assetId = 'com_content.article.' . $item->id
 
 $canCreate = $user->authorise('core.create', 'com_content.category.' . $item->catid)
 
 $canEdit = $user->authorise('core.edit', 'com_content.article.' . $item->id)
 
 $canCheckin = $user->authorise('core.manage', 'com_checkin') || $item->checked_out == $userId || is_null($item->checked_out)
 
 $canChange = $user->authorise('core.edit.state', 'com_content.article.' . $item->id) && $canCheckin
 
 $canEditCat = $user->authorise('core.edit', 'com_content.category.' . $item->catid)
 
 $canEditOwnCat = $user->authorise('core.edit.own', 'com_content.category.' . $item->catid) && $item->category_uid == $userId
 
 $canEditParCat = $user->authorise('core.edit', 'com_content.category.' . $item->parent_category_id)
 
 $canEditOwnParCat = $user->authorise('core.edit.own', 'com_content.category.' . $item->parent_category_id) && $item->parent_category_uid == $userId
 
 $transitions = ContentHelper::filterTransitions($this->transitions, (int) $item->stage_id, (int) $item->workflow_id)
 
 $transition_ids = ArrayHelper::getColumn($transitions, 'value')
 
 $iconClass = ''
 
if(! $canChange) elseif (! $saveOrder)
 
 $options
 
else __pad7__
 
else __pad8__
 
 $ParentCatUrl = Route::_('index.php?option=com_categories&task=category.edit&id=' . $item->parent_category_id . '&extension=com_content')
 
 $CurrentCatUrl = Route::_('index.php?option=com_categories&task=category.edit&id=' . $item->catid . '&extension=com_content')
 
 $EditCatTxt = Text::_('COM_CONTENT_EDIT_CATEGORY')
 
else __pad9__
 
 $date = $item->{$orderingColumn}
 
 endforeach
 

Documentation des variables

◆ $app

$app = Factory::getApplication()

◆ $assetId

◆ $assoc

$assoc = Associations::isEnabled()

◆ $canChange

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

◆ $canCheckin

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

◆ $canCreate

$canCreate = $user->authorise('core.create', 'com_content.category.' . $item->catid)

◆ $canEdit

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

◆ $canEditCat

$canEditCat = $user->authorise('core.edit', 'com_content.category.' . $item->catid)

◆ $canEditOwnCat

$canEditOwnCat = $user->authorise('core.edit.own', 'com_content.category.' . $item->catid) && $item->category_uid == $userId

◆ $canEditOwnParCat

$canEditOwnParCat = $user->authorise('core.edit.own', 'com_content.category.' . $item->parent_category_id) && $item->parent_category_uid == $userId

◆ $canEditParCat

$canEditParCat = $user->authorise('core.edit', 'com_content.category.' . $item->parent_category_id)

◆ $count

$count = count($this->items)

Référencé par FilesystemHandler\__construct(), PlgContentJoomla\_canDeleteCategories(), PlgContentJoomla\_countItemsInCategory(), PlgContentJoomla\_countItemsInChildren(), Stream\_stream_read(), Access\actions(), Access\assetgrouplist(), ItemModel\batchCopy(), CategoryModel\batchCopy(), DatabaseQuery\bind(), XmlReaderCaster\castXmlReader(), AdminModel\checkin(), AssociationsModel\clean(), InputFilter\cleanAttributes(), InputFilter\cleanTags(), Parser\cleanup(), BannerModel\click(), LanguageFilesCollector\collect(), Collection\count(), ListenersPriorityQueue\count(), Assertion\count(), Assert\countBetween(), Subject\countUse(), Subject\countUsedIn(), PasswordHash\crypt_private(), UpdatesitesModel\delete(), DiscoverModel\discover(), ExtensionDiscoverCommand\doExecute(), Application\doRenderThrowable(), PasswordHash\encode64(), Caster\filter(), Users\filterNotes(), FlattenException\flattenArgs(), ParagonIE_Sodium_Core32_Curve25519_Fe\fromArray(), PasswordHash\get_random_bytes(), LanguageErrorsCollector\getCount(), DatabaseDriver\getCount(), FormField\getFieldName(), CheckinModel\getItems(), AbstractMenu\getItems(), SSH2\getLastError(), ArticlesCategoriesHelper\getList(), BreadcrumbsHelper\getList(), PSSRSA\getMGF1(), RSA\getMGF1(), JNamespacePsr4Map\getNamespaces(), ExtensionDiscoverCommand\getNote(), ExtensionDiscoverInstallCommand\getNote(), CategoryNode\getNumItems(), TagField\getOptions(), En_GBLocalise\getPluralSuffixes(), Fr_FRLocalise\getPluralSuffixes(), Language\getPluralSuffixes(), ColorField\getSimpleModeLayoutData(), SignalRegistry\handle(), Table\hasPrimaryKey(), Indexer\index(), LdapUserProvider\loadUserByIdentifier(), Assertion\maxCount(), Menu\menuItemList(), RSA\mgf1(), Assertion\minCount(), OutputStyle\newLine(), SymfonyStyle\newLine(), Users\notes(), Users\notesModal(), Router\parse(), SFTP\parseAttributes(), SysinfoModel\parsePhpInfo(), Core\pbkdf2(), SymmetricKey\pkcs12helper(), Text\plural(), Text\printf(), ExtensionDiscoverInstallCommand\processDiscover(), DatabaseDriver\quoteName(), SFTP\readlink(), SFTP\readlist(), UpdatesitesModel\rebuild(), ASCII\remove_invisible_characters(), Taxonomy\removeOrphanMaps(), RssRenderer\render(), AtomRenderer\render(), Table\renderRowSeparator(), JavascriptRenderer\replaceTagInBuffer(), LanguageAdapter\resetUserLanguage(), Nested\saveorder(), LdapClient\search(), PKCS8\setIterationCount(), SymmetricKey\setPassword(), X509\setRecurLimit(), ArrayHelper\sortObjects(), Text\sprintf(), StringHelper\str_ireplace(), Buffer\stream_read(), BufferStreamHandler\stream_read(), StringWrapper\stream_read(), StreamString\stream_read(), PharStreamWrapper\stream_read(), X509\testForIntermediate(), Indexer\tokenizeToDb(), Indexer\tokenizeToDbShort(), Access\usergroups(), utf8_ireplace(), et X509\validateSignatureCountable().

◆ $CurrentCatUrl

$CurrentCatUrl = Route::_('index.php?option=com_categories&task=category.edit&id=' . $item->catid . '&extension=com_content')

◆ $date

$date = $item->{$orderingColumn}

◆ $EditCatTxt

$EditCatTxt = Text::_('COM_CONTENT_EDIT_CATEGORY')

◆ $iconClass

$iconClass = ''

◆ $listDirn

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

◆ $listOrder

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

◆ $options

$options
Valeur initiale :
= [
'task_prefix' => 'articles.'

◆ $ordering

foreach ( $this->items as $i=> $item) $ordering = ($listOrder == 'fp.ordering')

Référencé par PluginsModel\_getList(), ArticlesModel\getFilterForm(), PositionsModel\getItems(), LanguagesModel\getLanguages(), TagsSimilarHelper\getList(), ArticlesCategoryHelper\getList(), RequestsModel\getListQuery(), ConsentsModel\getListQuery(), BannersModel\getListQuery(), SearchModel\getListQuery(), NewsfeedsModel\getListQuery(), IndexModel\getListQuery(), ArticlesModel\getListQuery(), OrderingField\getQuery(), Menu\ordering(), SearchesModel\populateState(), PositionsModel\populateState(), ClientsModel\populateState(), GroupsModel\populateState(), StylesModel\populateState(), StagesModel\populateState(), LevelsModel\populateState(), CheckinModel\populateState(), TransitionsModel\populateState(), DiscoverModel\populateState(), MessagesModel\populateState(), WorkflowsModel\populateState(), PluginsModel\populateState(), ActionlogsModel\populateState(), UpdateModel\populateState(), AssociationsModel\populateState(), TracksModel\populateState(), ManageModel\populateState(), FeaturedModel\populateState(), ModulesModel\populateState(), ContactsModel\populateState(), NewsfeedsModel\populateState(), CacheModel\populateState(), ItemsModel\populateState(), UsersModel\populateState(), CategoriesModel\populateState(), TagsModel\populateState(), LinksModel\populateState(), InstalledModel\populateState(), DebuggroupModel\populateState(), DebuguserModel\populateState(), ArticlesModel\populateState(), FiltersModel\populateState(), RequestsModel\populateState(), ConsentsModel\populateState(), OverridesModel\populateState(), TemplatesModel\populateState(), MenusModel\populateState(), NotesModel\populateState(), LanguagesModel\populateState(), DatabaseModel\populateState(), BannersModel\populateState(), MapsModel\populateState(), HistoryModel\populateState(), IndexModel\populateState(), TasksModel\populateState(), UpdatesitesModel\populateState(), et ListModel\populateState().

◆ $ParentCatUrl

$ParentCatUrl = Route::_('index.php?option=com_categories&task=category.edit&id=' . $item->parent_category_id . '&extension=com_content')

◆ $saveOrder

$saveOrder = $listOrder == 'fp.ordering'

◆ $transition_ids

$transition_ids = ArrayHelper::getColumn($transitions, 'value')

◆ $transitions

$transitions = ContentHelper::filterTransitions($this->transitions, (int) $item->stage_id, (int) $item->workflow_id)

◆ $user

$user = Factory::getUser()

◆ $userId

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

◆ $wa

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

◆ $workflow_enabled

if ( $saveOrder &&!empty( $this->items)) $workflow_enabled = ComponentHelper::getParams('com_content')->get('workflow_enabled')

◆ $workflow_featured

$workflow_featured = false

◆ $workflow_state

$workflow_state = false

◆ __pad6__

else __pad6__

◆ __pad7__

else __pad7__

◆ __pad8__

else __pad8__

◆ __pad9__

else __pad9__

◆ else

if (Factory::getLanguage() ->isRtl()) else
Valeur initiale :
{
$orderingColumn = 'created'
$orderingColumn
Definition: administrator/components/com_workflow/tmpl/workflows/default.php:31

◆ elseif

if (! $canChange) elseif(! $saveOrder)

◆ endforeach

endforeach

◆ endif

endif

◆ if

if($workflow_enabled) (   $saveOrder)
Valeur initiale :
=> Text::_($item->stage_title),
'tip_content' => Text::sprintf('JWORKFLOW', Text::_($item->workflow_title)),
'id' => 'workflow-' . $item->id,
'task' => 'articles.runTransitions'
]
else $item
Definition: administrator/components/com_menus/tmpl/items/modal.php:165