/** * Set the theme for a page using the page object * @param PageTheme $pl */ public function setTheme($pl) { $db = Loader::db(); $db->query('update CollectionVersions set ptID = ? where cID = ? and cvID = ?', array($pl->getThemeID(), $this->cID, $this->vObj->getVersionID())); parent::refreshCache(); }
/** * Set the theme for a page using the page object * @param PageTheme $pl */ public function setTheme($pl) { $db = Loader::db(); $db->query('update Pages set ptID = ? where cID = ?', array($pl->getThemeID(), $this->cID)); parent::refreshCache(); }