function KalturaClient::reportError in Kaltura 5
Same name and namespace in other branches
- 6 kaltura_client/kaltura_client.php \KalturaClient::reportError()
File
- kaltura_client/
kaltura_client.php, line 1591
Class
Code
function reportError($kalturaSessionUser, $reportingObj = null, $errorCode = null, $errorDescription = null) {
$params = array();
$this
->addOptionalParam($params, "reporting_obj", $reportingObj);
$this
->addOptionalParam($params, "error_code", $errorCode);
$this
->addOptionalParam($params, "error_description", $errorDescription);
$result = $this
->hit("reporterror", $kalturaSessionUser, $params);
return $result;
}