1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-12 09:34:54 +02:00

Improved error message and docs.

This commit is contained in:
Cameron
2018-12-19 11:21:38 -08:00
parent 1648a6abac
commit 38a08376cd
2 changed files with 14 additions and 6 deletions

View File

@@ -1055,16 +1055,18 @@ class comment
}
/**
* Displays existing comments, and a comment entry form
*
* @param string $table - the source table for the associated item
* @param string $action - usually 'comment' or 'reply'
* @param string $table - the source table for the associated item
* @param string $action - usually 'comment' or 'reply'
* @param integer $id - ID of item associated with comments (e.g. news ID)
* @param int $width - appears to not be used
* @param string $subject
* @param int $width - appears to not be used
* @param string $subject
* @param boolean $rate
* @param boolean|string $return true, false or 'html'
* @param boolean $tablerender
* @return array|null|string|void
*/
function compose_comment($table, $action, $id, $width, $subject, $rate = FALSE, $return = FALSE, $tablerender = TRUE)
{