/** * Deletes all associated WordStatusLogsAsWord * @return void */ public function DeleteAllWordStatusLogsAsWord() { if (is_null($this->intWordId)) { throw new QUndefinedPrimaryKeyException('Unable to call UnassociateWordStatusLogAsWord on this unsaved Word.'); } // Get the Database Object for this Class $objDatabase = Word::GetDatabase(); // Perform the SQL Query $objDatabase->NonQuery(' DELETE FROM `submit_word_word_status_log` WHERE `word_id` = ' . $objDatabase->SqlVariable($this->intWordId) . ' '); }