Ejemplo n.º 1
0
 /**
  * @param CM_Model_StreamChannel_Abstract $streamChannel
  */
 public function removeStreamChannel(CM_Model_StreamChannel_Abstract $streamChannel)
 {
     foreach ($streamChannel->getStreamSubscribes() as $streamSubscribe) {
         $streamSubscribe->delete();
     }
     foreach ($streamChannel->getStreamPublishs() as $streamPublish) {
         $streamPublish->delete();
     }
     $streamChannel->delete();
 }