Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Fonctions membres publiques | |
create ($category, $params, $attribs=array(), $legacy=false) | |
edit ($article, $params, $attribs=array(), $legacy=false) | |
print_screen ($params, $legacy=false) | |
create | ( | $category, | |
$params, | |||
$attribs = array() , |
|||
$legacy = false |
|||
) |
Method to generate a link to the create item page for the given category
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 |
Références $attribs, $button, $category, $params, $text, $uri, $url, Text\_(), Route\_(), HTMLHelper\_(), et Uri\getInstance().
edit | ( | $article, | |
$params, | |||
$attribs = array() , |
|||
$legacy = false |
|||
) |
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.
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 |
Références $article, $attribs, $date, $output, $params, $text, $tooltip, $uri, $url, $user, Text\_(), Route\_(), HTMLHelper\_(), Workflow\CONDITION_PUBLISHED, Workflow\CONDITION_UNPUBLISHED, RouteHelper\getArticleRoute(), Uri\getInstance(), Factory\getUser(), LayoutHelper\render(), et Text\sprintf().
print_screen | ( | $params, | |
$legacy = false |
|||
) |
Method to generate a link to print an article
Registry | $params | The item parameters |
boolean | $legacy | True to use legacy images, false to use icomoon based graphic |
Références $params, $text, et LayoutHelper\render().