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 de la classe JHtmlIcon

Fonctions membres publiques statiques

static create ($category, $params, $attribs=array(), $legacy=false)
 
static email ($article, $params, $attribs=array(), $legacy=false)
 
static edit ($article, $params, $attribs=array(), $legacy=false)
 
static print_popup ($article, $params, $attribs=array(), $legacy=false)
 
static print_screen ($article, $params, $attribs=array(), $legacy=false)
 

Description détaillée

Content Component HTML Helper

Depuis
1.5

Documentation des fonctions membres

◆ create()

static create (   $category,
  $params,
  $attribs = array(),
  $legacy = false 
)
static

Method to generate a link to the create item page for the given category

Paramètres
object$categoryThe category information
Registry$paramsThe item parameters
array$attribsOptional attributes for the link
boolean$legacyTrue to use legacy images, false to use icomoon based graphic
Renvoie
string The HTML markup for the create item link

Références $attribs, $button, $category, $legacy, $output, $params, $text, $uri, et $url.

◆ edit()

static edit (   $article,
  $params,
  $attribs = array(),
  $legacy = false 
)
static

Display an edit icon for the article.

This icon will not display in a popup window, nor if the article is trashed. Edit access checks must be performed in the calling code.

Paramètres
object$articleThe article information
Registry$paramsThe item parameters
array$attribsOptional attributes for the link
boolean$legacyTrue to use legacy images, false to use icomoon based graphic
Renvoie
string The HTML for the article edit icon.
Depuis
1.6

Références $article, $attribs, $author, $date, $legacy, $output, $overlib, $params, $text, $tooltip, $uri, $url, $user, ENT_COMPAT, et ContentHelperRoute\getArticleRoute().

◆ email()

static email (   $article,
  $params,
  $attribs = array(),
  $legacy = false 
)
static

Method to generate a link to the email item page for the given article

Paramètres
object$articleThe article information
Registry$paramsThe item parameters
array$attribsOptional attributes for the link
boolean$legacyTrue to use legacy images, false to use icomoon based graphic
Renvoie
string The HTML markup for the email item link

Références $article, $attribs, $base, $legacy, $link, $params, $template, $text, $uri, $url, MailtoHelper\addLink(), ContentHelperRoute\getArticleRoute(), JPATH_SITE, et JLoader\register().

◆ print_popup()

static print_popup (   $article,
  $params,
  $attribs = array(),
  $legacy = false 
)
static

Method to generate a popup link to print an article

Paramètres
object$articleThe article information
Registry$paramsThe item parameters
array$attribsOptional attributes for the link
boolean$legacyTrue to use legacy images, false to use icomoon based graphic
Renvoie
string The HTML markup for the popup link

Références $article, $attribs, $legacy, $params, $text, $url, ENT_QUOTES, et ContentHelperRoute\getArticleRoute().

◆ print_screen()

static print_screen (   $article,
  $params,
  $attribs = array(),
  $legacy = false 
)
static

Method to generate a link to print an article

Paramètres
object$articleNot used,
Obsolète:
for 4.0
Paramètres
Registry$paramsThe item parameters
array$attribsNot used,
Obsolète:
for 4.0
Paramètres
boolean$legacyTrue to use legacy images, false to use icomoon based graphic
Renvoie
string The HTML markup for the popup link

Références $legacy, $params, et $text.


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