예제 #1
0
 /**
 * Return today milestones that this user have access to
 *
 * @access public
 * @param void
 * @return array
 */
 function getTodayMilestones() {
   if (is_null($this->today_milestones)) {
     $this->today_milestones = ProjectMilestones::getTodayMilestonesByUser($this);
   } // if
   return $this->today_milestones;
 } // getTodayMilestones
예제 #2
0
 /**
  * Return today milestones that this user have access to
  *
  * @access public
  * @param void
  * @return array
  */
 function getTodayMilestones($project = null, $tag = null, $limit)
 {
     if (is_null($this->today_milestones)) {
         $this->today_milestones = ProjectMilestones::getTodayMilestonesByUser($this, $project, $tag, $limit);
     }
     // if
     return $this->today_milestones;
 }