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

Fonctions membres publiques statiques

static create ($category, $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)
 

Fonctions membres privées statiques

static getIcon ()
 

Description détaillée

Content Component HTML Helper

Depuis
1.5
Obsolète:
5.0 Use the class instead

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
Obsolète:
5.0 Use the class instead

Références $attribs, $category, et $params.

◆ 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
Obsolète:
5.0 Use the class instead

Références $article, $attribs, et $params.

◆ getIcon()

static getIcon ( )
staticprivate

Creates an icon instance.

Renvoie

◆ 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
Obsolète:
5.0 Use the class instead

◆ 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
Obsolète:
5.0 Use the class instead

Références $params.


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