|
static | getComments (&$comments, $cDirname, $dirname, $dataname, $dataId, $categoryId, $params) |
|
static | count (&$count, $cDirname, $dirname, $dataname, $dataId) |
|
Interface of module's comment delegate
Definition at line 19 of file CommentDelegateInterface.class.php.
◆ count()
static count |
( |
& | $count, |
|
|
| $cDirname, |
|
|
| $dirname, |
|
|
| $dataname, |
|
|
| $dataId ) |
|
static |
count Legacy_Comment.{dirname}.Count
- Parameters
-
int | &$count | |
int | $cDirname | comment module's dirname |
string | $dirname | client module's dirname |
string | $dataname | client module's dataname(tablename) |
int | $dataId | client 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 | $cDirname | comment module's dirname |
string | $dirname | client module's dirname |
string | $dataname | client module's dataname(tablename) |
int | $dataId | client module's primary key |
int | $categoryId | client module's category id |
int | $params | other 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: