+ [task#131070] add the definition of thinkansoff widget.

This commit is contained in:
wangzemei
2024-11-01 14:30:59 +08:00
committed by 谢杞钰
parent 45dff891bd
commit 35368e53d5
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -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());}
+1 -1
View File
@@ -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)));