/** * 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
/** * 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; }