XCL Web Application Platform 2.5.0
The XoopsCube Legacy Project
Loading...
Searching...
No Matches
Legacy_iCommentDelegate Interface Reference

Static Public Member Functions

static getComments (&$comments, $cDirname, $dirname, $dataname, $dataId, $categoryId, $params)
 
static count (&$count, $cDirname, $dirname, $dataname, $dataId)
 

Detailed Description

Interface of module's comment delegate

Definition at line 19 of file CommentDelegateInterface.class.php.

Member Function Documentation

◆ count()

static count ( & $count,
$cDirname,
$dirname,
$dataname,
$dataId )
static

count Legacy_Comment.{dirname}.Count

Parameters
int&$count
int$cDirnamecomment module's dirname
string$dirnameclient module's dirname
string$datanameclient module's dataname(tablename)
int$dataIdclient module's primary key
Returns
void
Parameters
$count* int **
$cDirname* string **
$dirname* string **
$dataname* string **
$dataId* int **

◆ getComments()

static getComments ( & $comments,
$cDirname,
$dirname,
$dataname,
$dataId,
$categoryId,
$params )
static

getComments Legacy_Comment.{dirname}.GetComments This delegate point is used by smarty plugin smarty_function_legacy_comment. $comments is passed to the template of the comment module right away.

Parameters
mixed[]&$comments
string$cDirnamecomment module's dirname
string$dirnameclient module's dirname
string$datanameclient module's dataname(tablename)
int$dataIdclient module's primary key
int$categoryIdclient module's category id
int$paramsother arguments for comments filtering
Returns
void
Parameters
$comments* mixed[] **
$cDirname* string **
$dirname* string **
$dataname* string **
$dataId* int **
$categoryId* int **
$params* mixed[] **

The documentation for this interface was generated from the following file: