Public Member Functions | |
init () | |
run () | |
![]() | |
getViewFile ($viewName) |
Public Attributes | |
$model | |
$contentId | |
$lastLikesQty | |
$topLikesQty | |
$likesQty | |
$likes | |
$hasLiked = false | |
$isPreview = false |
Gentics Portal.Node PHP Author & Copyright (c) by Gentics Software GmbH sales @gen tics. comhttp://www.gentics.com Licenses can be found in the LICENSE.txt file in the root-folder of this installation You must not use this software without a valid license agreement.
Widget for view comments for current model
Definition at line 13 of file LikeWidget.php.
LikeWidget::init | ( | ) |
LikeWidget::run | ( | ) |
Selects model and renders view
Definition at line 79 of file LikeWidget.php.
References $likes.
LikeWidget::$hasLiked = false |
flag if user has likes this content before
Definition at line 56 of file LikeWidget.php.
LikeWidget::$isPreview = false |
flag if JavaScript should be available
Definition at line 63 of file LikeWidget.php.
LikeWidget::$likes |
containing info about likes of given content
Definition at line 50 of file LikeWidget.php.
Referenced by run().