Joomla CMS  4.2.2
Documentation des API du CMS Joomla en version 4.2.2
Référence de la classe Templates

Fonctions membres publiques

 thumb ($template, $clientId=0)
 
 thumbModal ($template, $clientId=0)
 

Description détaillée

Html helper class.

Depuis
1.6

Documentation des fonctions membres

◆ thumb()

thumb (   $template,
  $clientId = 0 
)

Display the thumb for the template.

Paramètres
string | object$templateThe name of the template or the template object.
integer$clientIdThe application client ID the template applies to
Renvoie
string The html string
Depuis
1.6
Obsolète:
5.0 The argument $template should be object and $clientId will be removed

Références $client, $html, $template, Text\_(), HTMLHelper\_(), elseif, ApplicationHelper\getClientInfo(), JPATH_ROOT, TemplatesHelper\parseXMLTemplateFile(), et Uri\root().

◆ thumbModal()

thumbModal (   $template,
  $clientId = 0 
)

Renders the html for the modal linked to thumb.

Paramètres
string | object$templateThe name of the template or the template object.
integer$clientIdThe application client ID the template applies to
Renvoie
string The html string
Depuis
3.4
Obsolète:
5.0 The argument $template should be object and $clientId will be removed

Références $client, $html, $preview, $template, Text\_(), HTMLHelper\_(), elseif, ApplicationHelper\getClientInfo(), if, JPATH_ROOT, TemplatesHelper\parseXMLTemplateFile(), Uri\root(), et Text\sprintf().


La documentation de cette classe a été générée à partir du fichier suivant :