modules/rss/rss.controller.php 1 location
|
@@ 69-82 (lines=14) @@
|
66 |
|
return new BaseObject(); |
67 |
|
} |
68 |
|
|
69 |
|
function triggerCopyModule(&$obj) |
70 |
|
{ |
71 |
|
$oModuleModel = getModel('module'); |
72 |
|
$rssConfig = $oModuleModel->getModulePartConfig('rss', $obj->originModuleSrl); |
73 |
|
|
74 |
|
$oModuleController = getController('module'); |
75 |
|
if(is_array($obj->moduleSrlList)) |
76 |
|
{ |
77 |
|
foreach($obj->moduleSrlList AS $key=>$moduleSrl) |
78 |
|
{ |
79 |
|
$oModuleController->insertModulePartConfig('rss', $moduleSrl, $rssConfig); |
80 |
|
} |
81 |
|
} |
82 |
|
} |
83 |
|
} |
84 |
|
/* End of file rss.controller.php */ |
85 |
|
/* Location: ./modules/rss/rss.controller.php */ |
modules/comment/comment.controller.php 1 location
|
@@ 1421-1434 (lines=14) @@
|
1418 |
|
$this->add('comment_list', $commentList); |
1419 |
|
} |
1420 |
|
|
1421 |
|
function triggerCopyModule(&$obj) |
1422 |
|
{ |
1423 |
|
$oModuleModel = getModel('module'); |
1424 |
|
$commentConfig = $oModuleModel->getModulePartConfig('comment', $obj->originModuleSrl); |
1425 |
|
|
1426 |
|
$oModuleController = getController('module'); |
1427 |
|
if(is_array($obj->moduleSrlList)) |
1428 |
|
{ |
1429 |
|
foreach($obj->moduleSrlList as $moduleSrl) |
1430 |
|
{ |
1431 |
|
$oModuleController->insertModulePartConfig('comment', $moduleSrl, $commentConfig); |
1432 |
|
} |
1433 |
|
} |
1434 |
|
} |
1435 |
|
|
1436 |
|
} |
1437 |
|
/* End of file comment.controller.php */ |
modules/point/point.controller.php 1 location
|
@@ 714-727 (lines=14) @@
|
711 |
|
return $output; |
712 |
|
} |
713 |
|
|
714 |
|
function triggerCopyModule(&$obj) |
715 |
|
{ |
716 |
|
$oModuleModel = getModel('module'); |
717 |
|
$pointConfig = $oModuleModel->getModulePartConfig('point', $obj->originModuleSrl); |
718 |
|
|
719 |
|
$oModuleController = getController('module'); |
720 |
|
if(is_array($obj->moduleSrlList)) |
721 |
|
{ |
722 |
|
foreach($obj->moduleSrlList AS $key=>$moduleSrl) |
723 |
|
{ |
724 |
|
$oModuleController->insertModulePartConfig('point', $moduleSrl, $pointConfig); |
725 |
|
} |
726 |
|
} |
727 |
|
} |
728 |
|
} |
729 |
|
/* End of file point.controller.php */ |
730 |
|
/* Location: ./modules/point/point.controller.php */ |
modules/document/document.controller.php 1 location
|
@@ 2552-2565 (lines=14) @@
|
2549 |
|
} |
2550 |
|
} |
2551 |
|
|
2552 |
|
function triggerCopyModule(&$obj) |
2553 |
|
{ |
2554 |
|
$oModuleModel = getModel('module'); |
2555 |
|
$documentConfig = $oModuleModel->getModulePartConfig('document', $obj->originModuleSrl); |
2556 |
|
|
2557 |
|
$oModuleController = getController('module'); |
2558 |
|
if(is_array($obj->moduleSrlList)) |
2559 |
|
{ |
2560 |
|
foreach($obj->moduleSrlList AS $key=>$moduleSrl) |
2561 |
|
{ |
2562 |
|
$oModuleController->insertModulePartConfig('document', $moduleSrl, $documentConfig); |
2563 |
|
} |
2564 |
|
} |
2565 |
|
} |
2566 |
|
} |
2567 |
|
/* End of file document.controller.php */ |
2568 |
|
/* Location: ./modules/document/document.controller.php */ |
modules/editor/editor.controller.php 1 location
|
@@ 526-539 (lines=14) @@
|
523 |
|
} |
524 |
|
} |
525 |
|
|
526 |
|
function triggerCopyModule(&$obj) |
527 |
|
{ |
528 |
|
$oModuleModel = getModel('module'); |
529 |
|
$editorConfig = $oModuleModel->getModulePartConfig('editor', $obj->originModuleSrl); |
530 |
|
|
531 |
|
$oModuleController = getController('module'); |
532 |
|
if(is_array($obj->moduleSrlList)) |
533 |
|
{ |
534 |
|
foreach($obj->moduleSrlList AS $key=>$moduleSrl) |
535 |
|
{ |
536 |
|
$oModuleController->insertModulePartConfig('editor', $moduleSrl, $editorConfig); |
537 |
|
} |
538 |
|
} |
539 |
|
} |
540 |
|
} |
541 |
|
/* End of file editor.controller.php */ |
542 |
|
/* Location: ./modules/editor/editor.controller.php */ |
modules/file/file.controller.php 1 location
|
@@ 1064-1077 (lines=14) @@
|
1061 |
|
return; |
1062 |
|
} |
1063 |
|
|
1064 |
|
function triggerCopyModule(&$obj) |
1065 |
|
{ |
1066 |
|
$oModuleModel = getModel('module'); |
1067 |
|
$fileConfig = $oModuleModel->getModulePartConfig('file', $obj->originModuleSrl); |
1068 |
|
|
1069 |
|
$oModuleController = getController('module'); |
1070 |
|
if(is_array($obj->moduleSrlList)) |
1071 |
|
{ |
1072 |
|
foreach($obj->moduleSrlList AS $key=>$moduleSrl) |
1073 |
|
{ |
1074 |
|
$oModuleController->insertModulePartConfig('file', $moduleSrl, $fileConfig); |
1075 |
|
} |
1076 |
|
} |
1077 |
|
} |
1078 |
|
} |
1079 |
|
/* End of file file.controller.php */ |
1080 |
|
/* Location: ./modules/file/file.controller.php */ |