◆ __construct()
__construct |
( |
& |
$subject, |
|
|
|
$config |
|
) |
| |
◆ displayVotingData()
displayVotingData |
( |
|
$context, |
|
|
& |
$row, |
|
|
& |
$params, |
|
|
|
$page |
|
) |
| |
|
private |
Displays the voting area
- Paramètres
-
string | $context | The context of the content being passed to the plugin |
object | &$row | The article object |
object | &$params | The article params |
integer | $page | The 'page' number |
- Renvoie
- string|boolean HTML string containing code for the votes if in com_content else boolean false
- Depuis
- 3.7.0
Références $context, $html, $params, $parts, $path, et null.
◆ onContentAfterDisplay()
onContentAfterDisplay |
( |
|
$context, |
|
|
& |
$row, |
|
|
& |
$params, |
|
|
|
$page = 0 |
|
) |
| |
Displays the voting area when viewing an article and the voting section is displayed after the article
- Paramètres
-
string | $context | The context of the content being passed to the plugin |
object | &$row | The article object |
object | &$params | The article params |
integer | $page | The 'page' number |
- Renvoie
- string|boolean HTML string containing code for the votes if in com_content else boolean false
- Depuis
- 3.7.0
Références $context, et $params.
◆ onContentBeforeDisplay()
onContentBeforeDisplay |
( |
|
$context, |
|
|
& |
$row, |
|
|
& |
$params, |
|
|
|
$page = 0 |
|
) |
| |
Displays the voting area when viewing an article and the voting section is displayed before the article
- Paramètres
-
string | $context | The context of the content being passed to the plugin |
object | &$row | The article object |
object | &$params | The article params |
integer | $page | The 'page' number |
- Renvoie
- string|boolean HTML string containing code for the votes if in com_content else boolean false
- Depuis
- 1.6
Références $context, et $params.
◆ $app
◆ $votingPosition
La documentation de cette classe a été générée à partir du fichier suivant :