Joomla CMS  3.10.11 (avec JPlatform 13.1 inclus)
Documentation des API du CMS Joomla en version 3.10.11 et du framework Joomla Platform intégré
Référence du fichier administrator/components/com_content/views/featured/tmpl/default.php

Espaces de nommage

 Joomla\Administrator
 

Variables

 $user = JFactory::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'
 
 $columns = 10
 
if(strpos($listOrder, 'publish_up') !==false) elseif(strpos($listOrder, 'publish_down') !==falseelse
 
 if ( $saveOrder)
 
else __pad0__
 
else null
 
 endif
 
 $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 || $item->checked_out == 0
 
 $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
 
 $iconClass = ''
 
if(! $canChange) elseif (! $saveOrder)
 
else __pad1__
 
else __pad2__
 
 $ParentCatUrl = JRoute::_('index.php?option=com_categories&task=category.edit&id=' . $item->parent_category_id . '&extension=com_content')
 
 $CurrentCatUrl = JRoute::_('index.php?option=com_categories&task=category.edit&id=' . $item->catid . '&extension=com_content')
 
 $EditCatTxt = JText::_('COM_CONTENT_EDIT_CATEGORY')
 
else __pad3__
 
else __pad4__
 
else __pad5__
 
 $date = $item->{$orderingColumn}
 
 endforeach
 

Documentation des variables

◆ $assetId

◆ $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 || $item->checked_out == 0

◆ $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)

◆ $columns

$columns = 10

◆ $count

$count = count($this->items)

Référencé par PlgContentJoomla\_countItemsInCategory(), PlgContentJoomla\_countItemsInChildren(), FOFViewJson\_createDocumentWithHypermedia(), JArrayHelper\_sortObjects(), FOFUtilsArray\_sortObjects(), UserHelper\_toAPRMD5(), JHtmlAccess\actions(), JHtmlAccess\assetgrouplist(), MenusModelItem\batchCopy(), CategoriesModelCategory\batchCopy(), TagsModelTags\checkin(), AdminModel\checkin(), AssociationsModelAssociations\clean(), InputFilter\cleanAttributes(), InputFilter\cleanTags(), Parser\cleanup(), BannersModelBanner\click(), PasswordHash\crypt_private(), InstallerModelUpdatesites\delete(), SearchViewSearch\display(), PlgSystemDebug\displayLogs(), PasswordHash\encode64(), lessc\expandParentSelectors(), FOFLess\expandParentSelectors(), JHtmlUsers\filterNotes(), ParagonIE_Sodium_Core32_Curve25519_Fe\fromArray(), AdminModelProfile\generateOteps(), UsersModelUser\generateOteps(), PasswordHash\get_random_bytes(), JLinkedinPeople\getConnections(), FOFDatabaseDriver\getCount(), JDatabaseDriver\getCount(), JTwitterDirectmessages\getDirectMessages(), JLinkedinGroups\getDiscussions(), JTwitterFavorites\getFavorites(), FormField\getFieldName(), JTwitterFriends\getFollowerIds(), JTwitterFriends\getFriendIds(), JLinkedinGroups\getGroup(), AbstractMenu\getItems(), ModBreadCrumbsHelper\getList(), ModArticlesCategoriesHelper\getList(), MediaModelList\getList(), JLinkedinGroups\getMemberships(), JTwitterStatuses\getMentions(), JLinkedinStream\getNetworkUpdates(), CategoryNode\getNumItems(), Fr_FRLocalise\getPluralSuffixes(), En_GBLocalise\getPluralSuffixes(), Language\getPluralSuffixes(), JLinkedinGroups\getPostComments(), JLinkedinCompanies\getProducts(), JTwitterStatuses\getRetweeters(), JTwitterStatuses\getRetweetsById(), JTwitterStatuses\getRetweetsOfMe(), JTwitterDirectmessages\getSentDirectMessages(), JLinkedinGroups\getSettings(), JFormFieldColor\getSimpleModeLayoutData(), JTwitterLists\getStatuses(), JTwitterLists\getSubscriptions(), JLinkedinJobs\getSuggested(), JLinkedinCompanies\getSuggested(), JLinkedinCompanies\getUpdates(), JLinkedinGroups\getUserPosts(), JTwitterStatuses\getUserTimeline(), Table\hasPrimaryKey(), FinderIndexerDriverPostgresql\index(), FinderIndexerDriverMysql\index(), FinderIndexerDriverSqlsrv\index(), FOFUtilsInstallscript\installSubextensions(), JHtmlMenu\menuItemList(), lessc\multiplySelectors(), FOFLess\multiplySelectors(), JHtmlUsers\notes(), JHtmlUsers\notesModal(), PlgContentJoomla\onContentBeforeDelete(), FOFLessParser\openString(), ContentHelperQuery\orderDownColumns(), BannersRouter\parse(), FOFLessParser\parse(), TagsRouter\parse(), NewsfeedsRouterRulesLegacy\parse(), ContactRouterRulesLegacy\parse(), ContentRouterRulesLegacy\parse(), AdminModelSysInfo\parsePhpInfo(), AKEncryptionAES\pbkdf2(), FOFLessParser\peek(), lessc_parser\peek(), Text\plural(), InstallerModelDatabase\prepareUtf8mb4StatusTable(), Text\printf(), FOFDatabaseDriverJoomla\quoteName(), FOFDatabaseDriver\quoteName(), JDatabaseDriver\quoteName(), InstallerModelUpdatesites\rebuild(), FOFLessParser\removeComments(), lessc_parser\removeComments(), RssRenderer\render(), AtomRenderer\render(), PlgSystemDebug\renderCallStack(), FOFRenderJoomla\renderFormBrowse(), FOFRenderStrapper\renderFormBrowse(), Nested\saveorder(), AKAbstractUnarchiver\scanArchives(), JTwittersearch\search(), JLinkedinCompanies\search(), JLinkedinPeople\search(), JLinkedinJobs\search(), LdapClient\search(), JTwitterUsers\searchUsers(), FOFLessParser\seek(), lessc_parser\seek(), FOFUtilsUpdate\setCommonParameter(), ArrayHelper\sortObjects(), Text\sprintf(), Buffer\stream_read(), BufferStreamHandler\stream_read(), StringWrapper\stream_read(), StreamString\stream_read(), PharStreamWrapper\stream_read(), FOFLessParser\throwError(), lessc_parser\throwError(), tln_skipspace(), FinderIndexer\tokenizeToDb(), FinderIndexer\tokenizeToDbShort(), LanguageAdapter\uninstall(), FOFLessParser\unit(), lessc_parser\unit(), JHtmlAccess\usergroups(), utf8_ireplace(), FOFLessParser\whitespace(), et lessc_parser\whitespace().

◆ $CurrentCatUrl

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

◆ $date

$date = $item->{$orderingColumn}

◆ $EditCatTxt

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

◆ $iconClass

$iconClass = ''

◆ $listDirn

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

◆ $listOrder

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

◆ $ordering

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

◆ $ParentCatUrl

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

◆ $saveOrder

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

◆ $user

$user = JFactory::getUser()

◆ $userId

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

◆ __pad0__

else __pad0__

◆ __pad1__

else __pad1__

◆ __pad2__

else __pad2__

◆ __pad3__

else __pad3__

◆ __pad4__

else __pad4__

◆ __pad5__

else __pad5__

◆ else

if (JFactory::getLanguage() ->isRtl()) else
Valeur initiale :
{
$orderingColumn = 'created'

◆ elseif

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

◆ endforeach

endforeach

◆ endif

endif

◆ if

else if($this->vote) (   $saveOrder)

◆ null

else null