. // // @ignore // =================================================================================================== /** * @package Kaltura * @subpackage Client */ abstract class Kaltura_Client_Type_Condition extends Kaltura_Client_ObjectBase { public function getKalturaObjectType() { return 'KalturaCondition'; } public function __construct(SimpleXMLElement $xml = null) { parent::__construct($xml); if(is_null($xml)) return; $this->type = (string)$xml->type; if(!empty($xml->not)) $this->not = true; } /** * The type of the access control condition * * * @var Kaltura_Client_Enum_ConditionType * @readonly */ public $type = null; /** * * * @var bool */ public $not = null; }