[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/components/com_content/helpers/ -> icon.php (summary)

(no description)

Copyright: (C) 2007 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
File Size: 110 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 5 functions

  create()
  edit()
  print_popup()
  print_screen()
  getIcon()

Functions
Functions that are not part of a class:

create($category, $params, $attribs = array()   X-Ref
Method to generate a link to the create item page for the given category

param: object    $category  The category information
param: Registry  $params    The item parameters
param: array     $attribs   Optional attributes for the link
param: boolean   $legacy    True to use legacy images, false to use icomoon based graphic
return: string  The HTML markup for the create item link

edit($article, $params, $attribs = array()   X-Ref
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: object    $article  The article information
param: Registry  $params   The item parameters
param: array     $attribs  Optional attributes for the link
param: boolean   $legacy   True to use legacy images, false to use icomoon based graphic
return: string  The HTML for the article edit icon.

print_popup($article, $params, $attribs = array()   X-Ref
Method to generate a popup link to print an article

param: object    $article  The article information
param: Registry  $params   The item parameters
param: array     $attribs  Optional attributes for the link
param: boolean   $legacy   True to use legacy images, false to use icomoon based graphic
return: string  The HTML markup for the popup link

print_screen($article, $params, $attribs = array()   X-Ref
Method to generate a link to print an article

param: object    $article  Not used, @deprecated for 4.0
param: Registry  $params   The item parameters
param: array     $attribs  Not used, @deprecated for 4.0
param: boolean   $legacy   True to use legacy images, false to use icomoon based graphic
return: string  The HTML markup for the popup link

getIcon()   X-Ref
Creates an icon instance.

return: \Joomla\Component\Content\Administrator\Service\HTML\Icon



Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer