Example #1
0
 public function UpdatePage(ModulePage_EntityPage $oPage)
 {
     $sql = "UPDATE ?_page\n\t\t\tSET page_pid = ? ,\n\t\t\tpage_url = ? ,\n\t\t\tpage_url_full = ? ,\n\t\t\tpage_title = ? ,\n\t\t\tpage_text = ? ,\n\t\t\tpage_text_source = ?,\n\t\t\tpage_date_edit = ? ,\n\t\t\tpage_seo_keywords = ? ,\n\t\t\tpage_seo_description = ? ,\n\t\t\tpage_active\t = ?, \t\t\n\t\t\tpage_main\t = ?,\t\t\n\t\t\tpage_sort\t = ?, \t\t\n\t\t\tpage_auto_br\t = ?\n\t\t\tWHERE page_id = ?d\n\t\t";
     $bResult = $this->oDb->query($sql, $oPage->getPid(), $oPage->getUrl(), $oPage->getUrlFull(), $oPage->getTitle(), $oPage->getText(), $oPage->getTextSource(), $oPage->getDateEdit(), $oPage->getSeoKeywords(), $oPage->getSeoDescription(), $oPage->getActive(), $oPage->getMain(), $oPage->getSort(), $oPage->getAutoBr(), $oPage->getId());
     return $bResult !== false;
 }