示例#1
0
 public function delete($con = null)
 {
     // first, delete the related bound object
     if (!is_object($this->bound) || $this->bound->getBouUid() == "") {
         $this->bound = BpmnBound::findByElement('Gateway', $this->getGatUid());
     }
     if (is_object($this->bound)) {
         $this->bound->delete($con);
     }
     parent::delete($con);
 }