Example #1
0
 public function editAdPosition(PwAdDm $dm)
 {
     if (($result = $dm->beforeUpdate()) !== true) {
         return false;
     }
     return $this->_getPwAdDao()->editAdPosition($dm->pid, $dm->getData());
 }