From cca2fedfec61e12672ecc452134ee1e543d5c725 Mon Sep 17 00:00:00 2001 From: wangyidong Date: Thu, 29 Aug 2024 15:36:20 +0800 Subject: [PATCH] * [refac bug #54641] Add note. --- module/build/zen.php | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/module/build/zen.php b/module/build/zen.php index a9b9bfaf95..d444bfb7a2 100644 --- a/module/build/zen.php +++ b/module/build/zen.php @@ -228,12 +228,27 @@ class buildZen extends build $this->view->objectID = $objectID; } + /** + * 为创建页面构建版本数据。 + * Build build data for create. + * + * @access public + * @return object + */ public function buildBuildForCreate() { if($this->post->isIntegrated == 'yes') $this->config->build->create->requiredFields = str_replace(',execution,', ',', ',' . $this->config->build->create->requiredFields . ','); return form::data($this->config->build->form->create)->setDefault('createdBy', $this->app->user->account)->get(); } + /** + * 为编辑页面构建版本数据。 + * Build build data for edit. + * + * @param int $buildID + * @access public + * @return object + */ public function buildBuildForEdit($buildID) { $build = $this->build->getById($buildID);