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