|
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) |
|
Content Component HTML Helper
- Depuis
- 1.5
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 | $category | The category information |
Registry | $params | The item parameters |
array | $attribs | Optional attributes for the link |
boolean | $legacy | True 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.
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 | $article | The article information |
Registry | $params | The item parameters |
array | $attribs | Optional attributes for the link |
boolean | $legacy | True 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, ContentHelperRoute\getArticleRoute(), et htmlspecialchars.
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 | $article | The article information |
Registry | $params | The item parameters |
array | $attribs | Optional attributes for the link |
boolean | $legacy | True to use legacy images, false to use icomoon based graphic |
- Renvoie
- string The HTML markup for the email item link
- Obsolète:
- 4.0 The functionality to email an article is removed in Joomla 4
Références $article, $attribs, $base, $height, $legacy, $link, $params, $template, $text, $uri, $url, MailtoHelper\addLink(), ContentHelperRoute\getArticleRoute(), JPATH_SITE, et JLoader\register().