Public Member Functions | |
getLoginUrl () | |
init () | |
getAssetsUrl () |
Static Public Member Functions | |
static | canDelete (Comment $comment) |
static | canApprove ($comment) |
static | isEmailModerator ($email) |
static | t ($str= '', $params=array(), $dic= 'core') |
Public Attributes | |
$hashSalt = 'h1ads29ds1a91hgj29jl451' | |
$notificationsEmail = 'comments@example.com' | |
$cacheTime = 60 |
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.
Comments module class file.
Definition at line 12 of file CommentsModule.php.
|
static |
Check if current user have approve permission on comment
Comment | $comment | comment model |
Definition at line 77 of file CommentsModule.php.
Referenced by CommentController\actionApprove().
|
static |
Check if current user have delete permission on comment
Comment | $comment | comment for operation |
Definition at line 62 of file CommentsModule.php.
Referenced by CommentController\actionDelete().
CommentsModule::getAssetsUrl | ( | ) |
Publish module assets and return url
Definition at line 99 of file CommentsModule.php.
CommentsModule::getLoginUrl | ( | ) |
page contained UserLoginWidget
Definition at line 28 of file CommentsModule.php.
CommentsModule::init | ( | ) |
Import dependent classes
Definition at line 43 of file CommentsModule.php.
|
static |
Check if exists comments with such moderator email
string |
Definition at line 89 of file CommentsModule.php.
References Comment\model().
|
static |
Translates a message to the specified language.
string | $str | message |
array | $params | params |
string | $dic | dictionary |
Definition at line 116 of file CommentsModule.php.
Referenced by CommentController\actionApprove(), CommentController\actionCreate(), CommentController\actionDelete(), CommentController\actionRemoteApprove(), CommentController\actionRemoteDelete(), Comment\attributeLabels(), Comment\getStatusText(), CommentController\onCommentCreated(), and CommentController\onCommentDeleted().