Example #1
0
 public function editStruct(PwDesignStructureDm $dm)
 {
     $resource = $dm->beforeUpdate();
     if ($resource instanceof PwError) {
         return $resource;
     }
     return $this->_getDao()->editStruct($dm->getData());
 }