[ Index ] |
PHP Cross Reference of Joomla 4.2.2 documentation |
[Source view] [Print] [Project Stats]
(no description)
Copyright: | (C) 2006 Open Source Matters, Inc. |
License: | GNU General Public License version 2 or later; see LICENSE.txt |
File Size: | 145 lines (4 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
PlgContentVote:: (4 methods):
__construct()
onContentBeforeDisplay()
onContentAfterDisplay()
displayVotingData()
Class: PlgContentVote - X-Ref
Vote plugin.__construct(&$subject, $config) X-Ref |
param: object &$subject The object to observe param: array $config An optional associative array of configuration settings. |
onContentBeforeDisplay($context, &$row, &$params, $page = 0) X-Ref |
Displays the voting area when viewing an article and the voting section is displayed before the article param: string $context The context of the content being passed to the plugin param: object &$row The article object param: object &$params The article params param: integer $page The 'page' number return: string|boolean HTML string containing code for the votes if in com_content else boolean false |
onContentAfterDisplay($context, &$row, &$params, $page = 0) X-Ref |
Displays the voting area when viewing an article and the voting section is displayed after the article param: string $context The context of the content being passed to the plugin param: object &$row The article object param: object &$params The article params param: integer $page The 'page' number return: string|boolean HTML string containing code for the votes if in com_content else boolean false |
displayVotingData($context, &$row, &$params, $page) X-Ref |
Displays the voting area param: string $context The context of the content being passed to the plugin param: object &$row The article object param: object &$params The article params param: integer $page The 'page' number return: string|boolean HTML string containing code for the votes if in com_content else boolean false |
Generated: Wed Sep 7 05:41:13 2022 | Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer |