It uses the given widget definitions to find the old and to create the new widgets
Each widget is defined with an array containing the following information
array (
'module' => string
'action' => string
'params' => array()
)
if $newWidget does not contain a widget definition at the current position,
the old widget will simply be removed
public static replaceDashboardWidgets ( $dashboardLayout, array $oldWidgets, array $newWidgets ) | ||
$oldWidgets | array | array containing widget definitions |
$newWidgets | array | array containing widget definitions |