Example #1
0
 public function fromArray($data, $type = BasePeer::TYPE_FIELDNAME)
 {
     parent::fromArray($data, $type);
     $bound = BpmnBound::findByElement('Data', $this->getDatUid());
     if (is_object($bound)) {
         $this->bound = $bound;
     } else {
         $this->bound = new BpmnBound();
         $this->bound->setBouUid(ProcessMaker\Util\Common::generateUID());
     }
     $this->bound->fromArray($data, BasePeer::TYPE_FIELDNAME);
 }