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_menus/layouts/joomla/searchtools/default.php

Espaces de nommage

 Joomla\Administrator
 

Variables

 $data = $displayData
 
 $data ['options'] = !empty($data['options']) ? $data['options'] : array()
 
if($data['view'] instanceof MenusViewItems|| $data['view'] instanceof MenusViewMenus$customOptions
 
 $data ['options'] = array_merge($customOptions, $data['options'])
 
 $formSelector = !empty($data['options']['formSelector']) ? $data['options']['formSelector'] : '#adminForm'
 
 $filtersClass = isset($data['view']->activeFilters) && $data['view']->activeFilters ? ' js-stools-container-filters-visible' : ''
 
 endif
 

Documentation des variables

◆ $customOptions

if ( $data[ 'view'] instanceof MenusViewItems||$data[ 'view'] instanceof MenusViewMenus) $customOptions
Valeur initiale :
= array(
'filtersHidden' => isset($data['options']['filtersHidden']) ? $data['options']['filtersHidden'] : empty($data['view']->activeFilters),
'defaultLimit' => isset($data['options']['defaultLimit']) ? $data['options']['defaultLimit'] : JFactory::getApplication()->get('list_limit', 20),
'searchFieldSelector' => '#filter_search',
'orderFieldSelector' => '#list_fullordering',
'totalResults' => isset($data['options']['totalResults']) ? $data['options']['totalResults'] : -1,
'noResultsText' => isset($data['options']['noResultsText']) ? $data['options']['noResultsText'] : JText::_('JGLOBAL_NO_MATCHING_RESULTS'),
)
$data
Definition: administrator/components/com_menus/layouts/joomla/searchtools/default.php:13

◆ $data [1/3]

$data = $displayData

◆ $data [2/3]

$data[ 'options'] = !empty($data['options']) ? $data['options'] : array()

◆ $data [3/3]

$data[ 'options'] = array_merge($customOptions, $data['options'])

◆ $filtersClass

$filtersClass = isset($data['view']->activeFilters) && $data['view']->activeFilters ? ' js-stools-container-filters-visible' : ''

◆ $formSelector

$formSelector = !empty($data['options']['formSelector']) ? $data['options']['formSelector'] : '#adminForm'

◆ endif

endif