From 35368e53d5b82fd5d88bf52a70b7b4d40538be4a Mon Sep 17 00:00:00 2001 From: wangzemei Date: Thu, 24 Oct 2024 15:03:53 +0800 Subject: [PATCH] + [task#131070] add the definition of thinkansoff widget. --- lib/zin/func.php | 1 + lib/zin/wg/thinkresult/v1.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/zin/func.php b/lib/zin/func.php index 3076a0ab23..e8c9f3abc2 100644 --- a/lib/zin/func.php +++ b/lib/zin/func.php @@ -221,6 +221,7 @@ function thinkPffa(): thinkPffa {return createWg('thinkPffa', func_get_args());} function thinkPestel(): thinkPestel {return createWg('thinkPestel', func_get_args());} function think4p(): think4p {return createWg('think4p', func_get_args());} function think3c(): think3c {return createWg('think3c', func_get_args());} +function thinkAnsoff(): thinkAnsoff {return createWg('thinkAnsoff', func_get_args());} function thinkStepQuote(): thinkStepQuote {return createWg('thinkStepQuote', func_get_args());} function sqlBuilderControl(): sqlBuilderControl {return createWg('sqlBuilderControl', func_get_args());} function sqlBuilderPicker(): sqlBuilderPicker {return createWg('sqlBuilderPicker', func_get_args());} diff --git a/lib/zin/wg/thinkresult/v1.php b/lib/zin/wg/thinkresult/v1.php index 1c5ebeed8b..5ac88b89c2 100644 --- a/lib/zin/wg/thinkresult/v1.php +++ b/lib/zin/wg/thinkresult/v1.php @@ -26,7 +26,7 @@ class thinkResult extends wg list($wizard, $mode, $blocks) = $this->prop(array('wizard', 'mode', 'blocks')); $model = $wizard->model; - $wgMap = array('swot' => 'thinkSwot', 'pffa' => 'thinkPffa', 'pest' => 'thinkPestel', 'pestel' => 'thinkPestel', '4p' => 'think4p', '4p2' => 'think4p', '3c' => 'think3c'); + $wgMap = array('swot' => 'thinkSwot', 'pffa' => 'thinkPffa', 'pest' => 'thinkPestel', 'pestel' => 'thinkPestel', '4p' => 'think4p', '4p2' => 'think4p', '3c' => 'think3c', 'ansoff' => 'thinkAnsoff'); if(!isset($wgMap[$model])) return array(); return createWg($wgMap[$model], array(set::mode($mode), set::blocks($blocks)));