issue 225 all comment remove when removed comment of parent.

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.3.1@10968 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
devjin 2012-08-02 08:49:46 +00:00
parent 578008f085
commit ebe22cafa2
3 changed files with 68 additions and 6 deletions

View file

@ -107,6 +107,17 @@
return (int)$output->data->count;
}
/**
* Returns the number of child comments
* @param int $comment_srl
* @return int
*/
function getChildComments($comment_srl) {
$args->comment_srl = $comment_srl;
$output = executeQueryArray('comment.getChildComments', $args);
return $output->data;
}
/**
* Get the comment
* @param int $comment_srl