public function addTorrentUser(PwTorrentUserDm $dm) { if (($result = $dm->beforeAdd()) !== true) { return $result; } return $this->_getDao(self::FETCH_MAIN)->addTorrentUser($dm->getData()); }