/** * @param ModuleMresource_EntityMresource $oResource * @return mixed */ public function UpdateMresouceUrl($oResource) { $sql = "UPDATE ?_mresource SET\n uuid = ?,\n path_url = ?,\n hash_url = ?,\n path_file = ?,\n hash_file = ?\n WHERE mresource_id = ?d"; return $this->oDb->query($sql, $oResource->getUuid(), $oResource->getPathUrl(), $oResource->getHashUrl(), $oResource->getPathFile(), $oResource->getHashFile(), $oResource->getMresourceId()); }