Exemplo n.º 1
0
 /**
  * Constructor
  *
  * @param mod_opencast_series $a_obj_scast     SWITCHcast channel the clip belongs to
  * @param string                $clip_identifier clip ID as SWITCHcast
  * @param bool                  $isempty
  * @param int                   $opencast_id
  */
 public function __construct(mod_opencast_series $a_obj_scast, $clip_identifier, $isempty = false, $opencast_id = 0)
 {
     if (!$isempty) {
         $this->series = $a_obj_scast;
         $this->opencast_id = $opencast_id;
         //		$this->obj_id = $a_obj_scast->obj_id;
         $this->channel_ext_id = $a_obj_scast->getExtId();
         $this->sys_account = $a_obj_scast->getSysAccount();
         $this->members = [];
         $this->setExtId($clip_identifier);
         $this->setChannelEditLink($a_obj_scast->getEditLink());
         $this->fetch();
     }
 }