function KalturaClient::reportKShow in Kaltura 6
Same name and namespace in other branches
- 5 kaltura_client/kaltura_client.php \KalturaClient::reportKShow()
File
- kaltura_client/
kaltura_client.php, line 1602
Class
Code
function reportKShow($kalturaSessionUser, $moderation) {
$params = array();
$this
->addOptionalParam($params, "moderation_comments", $moderation->comments);
$this
->addOptionalParam($params, "moderation_objectType", $moderation->objectType);
$this
->addOptionalParam($params, "moderation_objectId", $moderation->objectId);
$this
->addOptionalParam($params, "moderation_reportCode", $moderation->reportCode);
$this
->addOptionalParam($params, "moderation_status", $moderation->status);
$result = $this
->hit("reportkshow", $kalturaSessionUser, $params);
return $result;
}