29 lines
919 B
PHP
29 lines
919 B
PHP
<?php
|
|
declare(strict_types=1);
|
|
/**
|
|
* The zen file of program module of ZenTaoPMS.
|
|
*
|
|
* @copyright Copyright 2009-2023 禅道软件(青岛)有限公司(ZenTao Software (Qingdao) Co., Ltd. www.zentao.net)
|
|
* @license ZPL(https://zpl.pub/page/zplv12.html) or AGPL(https://www.gnu.org/licenses/agpl-3.0.en.html)
|
|
* @author dingguodong <dingguodong@easycorp.ltd>
|
|
* @link https://www.zentao.net
|
|
*/
|
|
|
|
class programZen extends program
|
|
{
|
|
/**
|
|
* 追加额外的数据到提交的表单数据。
|
|
* Append extras data to post data.
|
|
*
|
|
* @param object $postData
|
|
* @access protected
|
|
* @return object
|
|
*/
|
|
protected function prepareStartExtras(object $postData): object
|
|
{
|
|
return $postData->add('status', 'doing')
|
|
->add('lastEditedBy', $this->app->user->account)
|
|
->add('lastEditedDate', helper::now())
|
|
->get();
|
|
}
|
|
} |