function clearEverything()
 {
     if ($this->isCommentable()) {
         $this->clearComments();
     }
     // if
     if ($this->isPropertyContainer()) {
         $this->clearObjectProperties();
     }
     $this->removeFromCOTemplates();
     $this->clearSubscriptions();
     $this->clearReminders();
     if ($this->allowsTimeslots()) {
         $this->clearTimeslots();
     }
     $this->clearMembers();
     $this->clearSharingTable();
     $this->clearReads();
     parent::clearEverything();
 }
 function clearEverything()
 {
     if ($this->isTaggable()) {
         $this->clearTags();
     }
     // if
     if ($this->isCommentable()) {
         $this->clearComments();
     }
     // if
     if ($this->isPropertyContainer()) {
         $this->clearObjectProperties();
     }
     $this->removeFromCOTemplates();
     $this->clearSubscriptions();
     $this->clearReminders();
     if ($this->allowsTimeslots()) {
         $this->clearTimeslots();
     }
     $this->clearWorkspaces();
     $this->clearShared();
     $this->clearUserPermissions();
     $this->clearReads();
     parent::clearEverything();
 }