+ [task#131070] add the definition of thinkansoff widget.
This commit is contained in:
@@ -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());}
|
||||
|
||||
@@ -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)));
|
||||
|
||||
Reference in New Issue
Block a user