function KalturaClient::search in Kaltura 6
Same name and namespace in other branches
- 5 kaltura_client/kaltura_client.php \KalturaClient::search()
File
- kaltura_client/
kaltura_client.php, line 1638
Class
Code
function search($kalturaSessionUser, $mediaType, $mediaSource, $search, $authData = null, $page = 1, $pageSize = 10) {
$params = array();
$params["media_type"] = $mediaType;
$params["media_source"] = $mediaSource;
$params["search"] = $search;
$this
->addOptionalParam($params, "auth_data", $authData);
$this
->addOptionalParam($params, "page", $page);
$this
->addOptionalParam($params, "page_size", $pageSize);
$result = $this
->hit("search", $kalturaSessionUser, $params);
return $result;
}