[ Index ] |
PHP Cross Reference of Joomla 4.2.2 documentation |
[Source view] [Print] [Project Stats]
(no description)
Copyright: | (C) 2017 Open Source Matters, Inc. |
License: | GNU General Public License version 2 or later; see LICENSE.txt |
File Size: | 155 lines (5 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
PlgContentFields:: (2 methods):
onContentPrepare()
prepare()
Class: PlgContentFields - X-Ref
Plug-in to show a custom field in eg an articleonContentPrepare($context, &$item, &$params, $page = 0) X-Ref |
Plugin that shows a custom field param: string $context The context of the content being passed to the plugin. param: object &$item The item object. Note $article->text is also available param: object &$params The article params param: int $page The 'page' number return: void |
prepare($string, $context, $item) X-Ref |
Prepares the given string by parsing {field} and {fieldgroup} groups and replacing them. param: string $string The text to prepare param: string $context The context of the content param: object $item The item object return: string |
Generated: Wed Sep 7 05:41:13 2022 | Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer |