/** * Reload this WpOptions from the database. * @return void */ public function Reload() { // Make sure we are actually Restored from the database if (!$this->__blnRestored) { throw new QCallerException('Cannot call Reload() on a new, unsaved WpOptions object.'); } $this->DeleteCache(); // Reload the Object $objReloaded = WpOptions::Load($this->intOptionId); // Update $this's local variables to match $this->strOptionName = $objReloaded->strOptionName; $this->strOptionValue = $objReloaded->strOptionValue; $this->strAutoload = $objReloaded->strAutoload; }