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 mod_search.php

Espaces de nommage

 Joomla\Site
 

Variables

 $lang = JFactory::getLanguage()
 
 $app = JFactory::getApplication()
 
 $set_Itemid = (int) $params->get('set_itemid', 0)
 
 $mitemid = $set_Itemid > 0 ? $set_Itemid : $app->input->getInt('Itemid')
 
if($params->get('opensearch', 1)) $upper_limit = $lang->getUpperLimitSearchWord()
 
 $button = $params->get('button', 0)
 
 $imagebutton = $params->get('imagebutton', 0)
 
 $button_pos = $params->get('button_pos', 'left')
 
 $button_text = htmlspecialchars($params->get('button_text', JText::_('MOD_SEARCH_SEARCHBUTTON_TEXT')), ENT_COMPAT, 'UTF-8')
 
 $width = (int) $params->get('width')
 
 $maxlength = $upper_limit
 
 $text = htmlspecialchars($params->get('text', JText::_('MOD_SEARCH_SEARCHBOX_TEXT')), ENT_COMPAT, 'UTF-8')
 
 $label = htmlspecialchars($params->get('label', JText::_('MOD_SEARCH_LABEL_TEXT')), ENT_COMPAT, 'UTF-8')
 
 $moduleclass_sfx = htmlspecialchars($params->get('moduleclass_sfx', ''), ENT_COMPAT, 'UTF-8')
 
 if ( $imagebutton)
 

Documentation des variables

◆ $app

$app = JFactory::getApplication()

◆ $button

$button = $params->get('button', 0)

◆ $button_pos

$button_pos = $params->get('button_pos', 'left')

◆ $button_text

$button_text = htmlspecialchars($params->get('button_text', JText::_('MOD_SEARCH_SEARCHBUTTON_TEXT')), ENT_COMPAT, 'UTF-8')

◆ $imagebutton

$imagebutton = $params->get('imagebutton', 0)

◆ $label

$label = htmlspecialchars($params->get('label', JText::_('MOD_SEARCH_LABEL_TEXT')), ENT_COMPAT, 'UTF-8')

◆ $lang

$lang = JFactory::getLanguage()

◆ $maxlength

$maxlength = $upper_limit

◆ $mitemid

$mitemid = $set_Itemid > 0 ? $set_Itemid : $app->input->getInt('Itemid')

◆ $moduleclass_sfx

$moduleclass_sfx = htmlspecialchars($params->get('moduleclass_sfx', ''), ENT_COMPAT, 'UTF-8')

◆ $set_Itemid

$set_Itemid = (int) $params->get('set_itemid', 0)

◆ $text

$text = htmlspecialchars($params->get('text', JText::_('MOD_SEARCH_SEARCHBOX_TEXT')), ENT_COMPAT, 'UTF-8')

◆ $upper_limit

if ( $params->get( 'opensearch', 1)) $upper_limit = $lang->getUpperLimitSearchWord()

◆ $width

$width = (int) $params->get('width')

◆ if

if($imagebutton)