/** * @see ProjectInterface::get_next_status_id() * @return integer */ public function get_next_status_id() { if ($this->project) { $project_template = new ProjectTemplate($this->project->get_template_id()); return $project_template->get_next_status($this->get_current_status_id()); } else { return null; } }