function KalturaClient::reportUser in Kaltura 5
Same name and namespace in other branches
- 6 kaltura_client/kaltura_client.php \KalturaClient::reportUser()
File
- kaltura_client/
kaltura_client.php, line 1615
Class
Code
function reportUser($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("reportuser", $kalturaSessionUser, $params);
return $result;
}