function getArrayInfo()
 {
     $info = ProjectMilestones::getMilestonesInfo($this->getId());
     $tnum = array_var($info, 'tnum', 0);
     $tc = array_var($info, 'tc', 0);
     $result = array('id' => $this->getId(), 't' => $this->getTitle(), 'tnum' => $tnum, 'tc' => $tc, 'dd' => $this->getDueDate()->getTimestamp());
     if ($this->getCompletedById() > 0) {
         $result['compId'] = $this->getCompletedById();
         $result['compOn'] = $this->getCompletedOn()->getTimestamp();
     }
     $result['is_urgent'] = $this->getIsUrgent();
     return $result;
 }