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/articles/tmpl/default.php

Espaces de nommage

 Joomla\Administrator
 

Variables

 $app = JFactory::getApplication()
 
 $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 == 'a.ordering'
 
 $columns = 10
 
if(strpos($listOrder, 'publish_up') !==false) elseif(strpos($listOrder, 'publish_down') !==false) elseif(strpos($listOrder, 'modified') !==falseelse
 
if($saveOrder) $assoc = JLanguageAssociations::isEnabled()
 
else __pad0__
 
else null
 
else if ( $assoc)
 
 endif
 
foreach($this->items as $i=> $item$ordering = ($listOrder == 'a.ordering')
 
 $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
 
 $canEditOwn = $user->authorise('core.edit.own', 'com_content.article.' . $item->id) && $item->created_by == $userId
 
 $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

◆ $app

$app = JFactory::getApplication()

◆ $assoc

if ( $saveOrder) $assoc = JLanguageAssociations::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 || $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)

◆ $canEditOwn

$canEditOwn = $user->authorise('core.edit.own', 'com_content.article.' . $item->id) && $item->created_by == $userId

◆ $columns

$columns = 10

◆ $date

$date = $item->{$orderingColumn}

Référencé par FOFUtilsFilescheck\__construct(), Date\__construct(), LogEntry\__construct(), Log\add(), FieldsTableGroup\check(), TagsTableTag\check(), FieldsTableField\check(), FOFTable\checkout(), HTMLHelper\date(), JDatabaseQuerySqlite\dateAdd(), FOFDatabaseQuerySqlite\dateAdd(), FOFDatabaseQuerySqlsrv\dateAdd(), JDatabaseQuerySqlsrv\dateAdd(), FOFDatabaseQueryPostgresql\dateAdd(), JDatabaseQueryPostgresql\dateAdd(), FOFDatabaseQuery\dateAdd(), JDatabaseQuery\dateAdd(), FOFDatabaseQueryPostgresql\day(), JDatabaseQueryPostgresql\day(), FOFDatabaseQuery\day(), JDatabaseQuery\day(), TagsViewTag\display(), TagsViewTags\display(), CategoryFeedView\display(), PHPMailer\DKIM_Add(), RedirectModelLink\duplicateUrls(), JHtmlIcon\edit(), JHtmlQuery\explained(), Form\filterField(), Version\generateMediaVersion(), SimplePie_Item\get_gmdate(), SimplePie_Item\get_local_date(), SimplePie_Item\get_updated_gmdate(), FOFFormFieldCalendar\getCalendar(), Factory\getDate(), FOFFormHeaderFielddate\getFilter(), JFormFieldCalendar\getInput(), Date\getInstance(), ContentModelArticle\getItem(), TagsModelTag\getItem(), CategoriesModelCategory\getItem(), FieldsModelGroup\getItem(), FieldsModelField\getItem(), ModRelatedItemsHelper\getList(), ModArchiveHelper\getList(), NewsfeedsModelCategory\getListQuery(), ContactModelFeatured\getListQuery(), ModArticlesCategoryHelper\groupByDate(), FOFDatabaseQueryPostgresql\hour(), JDatabaseQueryPostgresql\hour(), FOFDatabaseQuery\hour(), JDatabaseQuery\hour(), InstallationApplicationWeb\loadDocument(), DelegatingPsrLogger\log(), FOFDatabaseQueryPostgresql\minute(), JDatabaseQueryPostgresql\minute(), FOFDatabaseQuery\minute(), JDatabaseQuery\minute(), FOFDatabaseQueryPostgresql\month(), JDatabaseQueryPostgresql\month(), FOFDatabaseQuery\month(), JDatabaseQuery\month(), PlgContentPagenavigation\onContentBeforeDisplay(), PlgSearchContent\onContentSearch(), PlgUserProfile\onUserAfterSave(), PlgUserProfile\onUserBeforeSave(), NewsfeedsModelNewsfeed\prepareTable(), BannersModelBanner\prepareTable(), ContactModelContact\prepareTable(), FinderIndexerQuery\processDates(), FinderIndexerQuery\processString(), JHtmlDate\relative(), SimplePie_Cache_MySQL\save(), FOFDatabaseQueryPostgresql\second(), JDatabaseQueryPostgresql\second(), FOFDatabaseQuery\second(), JDatabaseQuery\second(), User\setLastVisit(), Document\setModifiedDate(), UsersTableNote\store(), ContactTableContact\store(), RedirectTableLink\store(), NewsfeedsTableNewsfeed\store(), FinderTableFilter\store(), Category\store(), TagsTableTag\store(), CoreContent\store(), Content\store(), FOFDatabaseQueryPostgresql\year(), JDatabaseQueryPostgresql\year(), FOFDatabaseQuery\year(), et JDatabaseQuery\year().

◆ $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 == 'a.ordering')

Référencé par SearchModelSearch\__construct(), PluginsModelPlugins\_getList(), FOFFormHeaderOrdering\getHeader(), ModulesModelPositions\getItems(), InstallerModelLanguages\getLanguages(), ModTagssimilarHelper\getList(), ModArticlesNewsHelper\getList(), ModArticlesLatestHelper\getList(), ModArticlesCategoryHelper\getList(), BannersModelBanners\getListQuery(), FinderModelIndex\getListQuery(), FOFPlatform\getOrdering(), OrderingField\getQuery(), FOFFormFieldOrdering\getQuery(), FOFFormFieldOrdering\getRepeatable(), FinderModelSearch\getResultsData(), PlgSearchContent\onContentSearch(), PlgSearchNewsfeeds\onContentSearch(), PlgSearchContacts\onContentSearch(), PlgSearchTags\onContentSearch(), PlgSearchCategories\onContentSearch(), JHtmlMenu\ordering(), InstallerModelDatabase\populateState(), ModulesModelPositions\populateState(), SearchModelSearches\populateState(), UsersModelLevels\populateState(), UsersModelGroups\populateState(), TemplatesModelStyles\populateState(), InstallerModelUpdate\populateState(), BannersModelClients\populateState(), InstallerModelDiscover\populateState(), LanguagesModelLanguages\populateState(), InstallerModelManage\populateState(), MessagesModelMessages\populateState(), InstallerModelUpdatesites\populateState(), PluginsModelPlugins\populateState(), TagsModelTags\populateState(), AssociationsModelAssociations\populateState(), CategoriesModelCategories\populateState(), UsersModelUsers\populateState(), CheckinModelCheckin\populateState(), BannersModelTracks\populateState(), ModulesModelModules\populateState(), NewsfeedsModelNewsfeeds\populateState(), MenusModelItems\populateState(), CacheModelCache\populateState(), ContactModelContacts\populateState(), ContentModelArticles\populateState(), RedirectModelLinks\populateState(), LanguagesModelInstalled\populateState(), UsersModelDebuggroup\populateState(), UsersModelDebugUser\populateState(), FinderModelFilters\populateState(), TemplatesModelTemplates\populateState(), LanguagesModelOverrides\populateState(), MenusModelMenus\populateState(), UsersModelNotes\populateState(), InstallerModelLanguages\populateState(), ContentModelFeatured\populateState(), BannersModelBanners\populateState(), FinderModelMaps\populateState(), ContenthistoryModelHistory\populateState(), FinderModelIndex\populateState(), ListModel\populateState(), FOFController\saveorder(), et SearchModelSearch\setSearch().

◆ $saveOrder

$saveOrder = $listOrder == 'a.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

if($this->vote) (   $assoc)

◆ null

else null