. // // @ignore // =================================================================================================== /** * @package Kaltura * @subpackage Client */ class Kaltura_Client_Type_StatsKmcEvent extends Kaltura_Client_ObjectBase { public function getKalturaObjectType() { return 'KalturaStatsKmcEvent'; } public function __construct(SimpleXMLElement $xml = null) { parent::__construct($xml); if(is_null($xml)) return; $this->clientVer = (string)$xml->clientVer; $this->kmcEventActionPath = (string)$xml->kmcEventActionPath; if(count($xml->kmcEventType)) $this->kmcEventType = (int)$xml->kmcEventType; if(count($xml->eventTimestamp)) $this->eventTimestamp = (float)$xml->eventTimestamp; $this->sessionId = (string)$xml->sessionId; if(count($xml->partnerId)) $this->partnerId = (int)$xml->partnerId; $this->entryId = (string)$xml->entryId; $this->widgetId = (string)$xml->widgetId; if(count($xml->uiconfId)) $this->uiconfId = (int)$xml->uiconfId; $this->userId = (string)$xml->userId; $this->userIp = (string)$xml->userIp; } /** * * * @var string */ public $clientVer = null; /** * * * @var string */ public $kmcEventActionPath = null; /** * * * @var Kaltura_Client_Enum_StatsKmcEventType */ public $kmcEventType = null; /** * the client's timestamp of this event * * * @var float */ public $eventTimestamp = null; /** * a unique string generated by the client that will represent the client-side session: the primary component will pass it on to other components that sprout from it * * * @var string */ public $sessionId = null; /** * * * @var int */ public $partnerId = null; /** * * * @var string */ public $entryId = null; /** * * * @var string */ public $widgetId = null; /** * * * @var int */ public $uiconfId = null; /** * the partner's user id * * * @var string */ public $userId = null; /** * will be retrieved from the request of the user * * * @var string * @readonly */ public $userIp = null; }