|
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) |
|
Content Component HTML Helper
- Depuis
- 1.5
- Obsolète:
- 5.0 Use the class instead
◆ 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 | $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
- 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 | $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
- Obsolète:
- 5.0 Use the class instead
Références $article, $attribs, et $params.
◆ getIcon()
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 | $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 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
-
- Obsolète:
- for 4.0
- Paramètres
-
Registry | $params | The item parameters |
array | $attribs | Not used, |
- Obsolète:
- for 4.0
- Paramètres
-
boolean | $legacy | True 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 :