From 0697a67f160970732e205f7b24ae76173edc2b8e Mon Sep 17 00:00:00 2001 From: tianshujie98 Date: Tue, 24 Nov 2020 12:18:49 +0800 Subject: [PATCH] * Merge. --- module/program/control.php | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/module/program/control.php b/module/program/control.php index 148102ac71..5e8c8d9d61 100644 --- a/module/program/control.php +++ b/module/program/control.php @@ -1440,4 +1440,25 @@ class program extends control echo $this->fetch('program', 'PGMProduct', "programID=$programID"); } + + /** + * When create a project, help the user. + * + * @param string $model + * @param int $programID + * @param string $from PRJ|PGM + * @param int $projectID + * @access public + * @return void + */ + public function tips($model = 'waterfall', $programID = 0, $from = 'PRJ', $projectID) + { + $this->view->model = $model; + $this->view->programID = $programID; + $this->view->from = $from; + $this->view->projectID = $projectID; + $this->view->project = $this->project->getById($projectID); + + $this->display('program', 'tips'); + } }