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/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
 
 $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

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

◆ $canEditCat

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

◆ $canEditOwn

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

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

◆ $CurrentCatUrl

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

◆ $date

$date = $item->{$orderingColumn}

Référencé par FOFUtilsFilescheck\__construct(), Date\__construct(), LogEntry\__construct(), Log\add(), ActionlogsModelActionlog\addLog(), 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(), ContentHelperAssociation\getAssociations(), FOFFormFieldCalendar\getCalendar(), ActionlogsHelper\getCsvData(), Factory\getDate(), FOFFormHeaderFielddate\getFilter(), JFormFieldCalendar\getInput(), Date\getInstance(), ContentModelArticle\getItem(), TagsModelTag\getItem(), ModArchiveHelper\getList(), ModRelatedItemsHelper\getList(), ActionlogsModelActionlogs\getListQuery(), 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(), JHtmlContent\months(), 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(), PrivacyTableConsent\store(), UsersTableNote\store(), PrivacyTableRequest\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().

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

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

◆ $ParentCatUrl

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

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

◆ __pad5__

else __pad5__

◆ else

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

◆ elseif

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

◆ endforeach

endforeach

◆ endif

endif

◆ if

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

◆ null

else null