You are here

class KalturaConfiguration in Kaltura 5

Same name and namespace in other branches
  1. 6.2 kaltura_client/KalturaClientBase.php \KalturaConfiguration
  2. 6 kaltura_client/kaltura_client_base.php \KalturaConfiguration

Hierarchy

Expanded class hierarchy of KalturaConfiguration

File

kaltura_client/kaltura_client_base.php, line 252

View source
class KalturaConfiguration {
  var $logger;
  var $serviceUrl = "http://www.kaltura.com";
  var $format = KALTURA_SERVICE_FORMAT_PHP;
  var $partnerId = null;
  var $subPartnerId = null;

  /**
   * Constructs new kaltura configuration object, expecting partner id & sub partner id
   *
   * @param int $partnerId
   * @param int $subPartnerId
   */
  function KalturaConfiguration($partnerId, $subPartnerId) {
    $this->partnerId = $partnerId;
    $this->subPartnerId = $subPartnerId;
  }

  /**
   * Set logger to get kaltura client debug logs
   *
   * @param IKalturaLogger $log
   */
  function setLogger($log) {
    $this->logger = $log;
  }

  /**
   * Gets the logger (Internal client use)
   *
   * @return unknown
   */
  function getLogger() {
    return $this->logger;
  }

}

Members

Namesort descending Modifiers Type Description Overrides
KalturaConfiguration::$format property
KalturaConfiguration::$logger property
KalturaConfiguration::$partnerId property
KalturaConfiguration::$serviceUrl property
KalturaConfiguration::$subPartnerId property
KalturaConfiguration::getLogger function * Gets the logger (Internal client use) * *
KalturaConfiguration::KalturaConfiguration function * Constructs new kaltura configuration object, expecting partner id & sub partner id * *
KalturaConfiguration::setLogger function * Set logger to get kaltura client debug logs * *