function KalturaClient::listModerations in Kaltura 6
Same name and namespace in other branches
- 5 kaltura_client/kaltura_client.php \KalturaClient::listModerations()
File
- kaltura_client/
kaltura_client.php, line 1216
Class
Code
function listModerations($kalturaSessionUser, $filter, $detailed = null, $pageSize = 10, $page = 1) {
$params = array();
$this
->addOptionalParam($params, "filter__eq_id", $filter->equalId);
$this
->addOptionalParam($params, "filter__eq_puser_id", $filter->equalPuserId);
$this
->addOptionalParam($params, "filter__eq_status", $filter->equalStatus);
$this
->addOptionalParam($params, "filter__in_status", $filter->inStatus);
$this
->addOptionalParam($params, "filter__like_comments", $filter->likeComments);
$this
->addOptionalParam($params, "filter__eq_object_id", $filter->equalObjectId);
$this
->addOptionalParam($params, "filter__eq_object_type", $filter->equalObjectType);
$this
->addOptionalParam($params, "filter__eq_group_id", $filter->equalGroupId);
$this
->addOptionalParam($params, "filter__order_by", $filter->orderBy);
$this
->addOptionalParam($params, "filter__limit", $filter->limit);
$this
->addOptionalParam($params, "detailed", $detailed);
$this
->addOptionalParam($params, "page_size", $pageSize);
$this
->addOptionalParam($params, "page", $page);
$result = $this
->hit("listmoderations", $kalturaSessionUser, $params);
return $result;
}