/**
     * Deletes all associated Topics
     * @return void
     */
    public function DeleteAllTopics()
    {
        if (is_null($this->intId)) {
            throw new QUndefinedPrimaryKeyException('Unable to call UnassociateTopic on this unsaved TopicLink.');
        }
        // Get the Database Object for this Class
        $objDatabase = TopicLink::GetDatabase();
        // Journaling
        if ($objDatabase->JournalingDatabase) {
            foreach (Topic::LoadArrayByTopicLinkId($this->intId) as $objTopic) {
                $objTopic->Journal('DELETE');
            }
        }
        // Perform the SQL Query
        $objDatabase->NonQuery('
				DELETE FROM
					`topic`
				WHERE
					`topic_link_id` = ' . $objDatabase->SqlVariable($this->intId) . '
			');
    }