Joomla CMS  3.8.5 (avec JPlatform 13.1 inclus)
Documentation des API du CMS Joomla en version 3.8.5 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
 
 $iconClass = ''
 
if(! $canChange) elseif (! $saveOrder)
 
else __pad1__
 
else __pad2__
 
else __pad3__
 
else __pad4__
 
 $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)

◆ $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(), ParagonIE_Sodium_Core_Curve25519_Fe\fromArray(), ParagonIE_Sodium_Core32_Curve25519_Fe\fromIntArray(), UsersModelUser\generateOteps(), FOFEncryptRandval\genRandomBytes(), 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(), JStreamString\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().

◆ $date

$date = $item->{$orderingColumn}

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

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

◆ else

if (!empty($this->sidebar)) else
Valeur initiale :
{
$orderingColumn = 'created'

◆ elseif

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

◆ endforeach

endforeach

◆ endif

endif

◆ if

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

◆ null

else null