You are here

class KalturaNotificationService in Kaltura 6.2

Hierarchy

Expanded class hierarchy of KalturaNotificationService

File

kaltura_client/KalturaClient.php, line 4750

View source
class KalturaNotificationService extends KalturaServiceBase {
  function __construct(KalturaClient $client) {
    parent::__construct($client);
  }
  function getClientNotification($entryId, $type) {
    $kparams = array();
    $this->client
      ->addParam($kparams, "entryId", $entryId);
    $this->client
      ->addParam($kparams, "type", $type);
    $this->client
      ->queueServiceActionCall("notification", "getClientNotification", $kparams);
    if ($this->client
      ->isMultiRequest()) {
      return null;
    }
    $resultObject = $this->client
      ->doQueue();
    $this->client
      ->throwExceptionIfError($resultObject);
    $this->client
      ->validateObjectType($resultObject, "KalturaClientNotification");
    return $resultObject;
  }

}

Members

Namesort descending Modifiers Type Description Overrides
KalturaNotificationService::getClientNotification function
KalturaNotificationService::__construct function * Initialize the service keeping reference to the KalturaClient * * Overrides KalturaServiceBase::__construct
KalturaServiceBase::$client protected property *