You are here

function KalturaClient::reportKShow in Kaltura 5

Same name and namespace in other branches
  1. 6 kaltura_client/kaltura_client.php \KalturaClient::reportKShow()

File

kaltura_client/kaltura_client.php, line 1602

Class

KalturaClient

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;
}