/** * Reload this DleTags 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 DleTags object.'); } $this->DeleteCache(); // Reload the Object $objReloaded = DleTags::Load($this->intId); // Update $this's local variables to match $this->NewsId = $objReloaded->NewsId; $this->strTag = $objReloaded->strTag; }