/**
  * removes an assignment from this object's array
  *
  * @param AssignmentHistory $assignmentHistory an assignment history object
  * @return boolean|AssignmentHistory false if failed or the removed assignment object if success
  */
 public function remove(AssignmentHistory $assignmentHistory)
 {
     $id = $assignmentHistory->getID();
     if (isset($this->theArray[$id])) {
         $rObject = $this->theArray[$id];
         unset($this->theArray[$id]);
         return $rObject;
     }
     return false;
 }