Exemplo n.º 1
0
 /**
  * 
  */
 public function RemoveMediaReplication()
 {
     $pn_representation_id = $this->request->getParameter('representation_id', pInteger);
     $ps_target = $this->request->getParameter('target', pString);
     $ps_key = urldecode($this->request->getParameter('key', pString));
     $t_rep = new ca_object_representations($pn_representation_id);
     $this->view->setVar('target_list', $t_rep->getAvailableMediaReplicationTargetsAsHTMLFormElement('target', 'media'));
     $this->view->setVar('representation_id', $pn_representation_id);
     $this->view->setVar('t_representation', $t_rep);
     $this->view->setVar('selected_target', $ps_target);
     $t_rep->removeMediaReplication('media', $ps_target, $ps_key);
     $this->MediaReplicationControls($t_rep);
 }