class KalturaStatsService in Kaltura 6.2
Hierarchy
- class \KalturaServiceBase- class \KalturaStatsService
 
Expanded class hierarchy of KalturaStatsService
File
- kaltura_client/KalturaClient.php, line 5151 
View source
class KalturaStatsService extends KalturaServiceBase {
  function __construct(KalturaClient $client) {
    parent::__construct($client);
  }
  function collect(KalturaStatsEvent $event) {
    $kparams = array();
    $this->client
      ->addParam($kparams, "event", $event
      ->toParams());
    $this->client
      ->queueServiceActionCall("stats", "collect", $kparams);
    if ($this->client
      ->isMultiRequest()) {
      return null;
    }
    $resultObject = $this->client
      ->doQueue();
    $this->client
      ->throwExceptionIfError($resultObject);
    $this->client
      ->validateObjectType($resultObject, "null");
    return $resultObject;
  }
  function reportKceError(KalturaCEError $kalturaCEError) {
    $kparams = array();
    $this->client
      ->addParam($kparams, "kalturaCEError", $kalturaCEError
      ->toParams());
    $this->client
      ->queueServiceActionCall("stats", "reportKceError", $kparams);
    if ($this->client
      ->isMultiRequest()) {
      return null;
    }
    $resultObject = $this->client
      ->doQueue();
    $this->client
      ->throwExceptionIfError($resultObject);
    $this->client
      ->validateObjectType($resultObject, "KalturaCEError");
    return $resultObject;
  }
}Members
| Name   | Modifiers | Type | Description | Overrides | 
|---|---|---|---|---|
| KalturaServiceBase:: | protected | property | * | |
| KalturaStatsService:: | function | |||
| KalturaStatsService:: | function | |||
| KalturaStatsService:: | function | * Initialize the service keeping reference to the KalturaClient
	 *
	 * Overrides KalturaServiceBase:: | 
