[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/administrator/components/com_content/src/Service/HTML/ -> Icon.php (summary)

(no description)

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

Defines 1 class

Icon:: (3 methods):
  create()
  edit()
  print_screen()


Class: Icon  - X-Ref

Content Component HTML Helper

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_screen($params, $legacy = false)   X-Ref
Method to generate a link to print an article

param: Registry  $params  The item parameters
param: boolean   $legacy  True to use legacy images, false to use icomoon based graphic
return: string  The HTML markup for the popup link



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