Ejemplo n.º 1
0
/**
 * Takes the submitvalues and draws move_service_end_point, specfying which
 * site's SEPs should be displayed on that page.
 * @param $submitvalues Array which contains the data submitted by the user
 * @return null
 */
function submitOldSite($submitvalues)
{
    //Get the old site
    $oldSite_id = $submitvalues['OldSite'];
    $oldSite = \Factory::getSiteService()->getSite($oldSite_id);
    //Draw the move site form
    drawMoveSite($oldSite);
}
Ejemplo n.º 2
0
/**
 * Takes the submitvalues and draws move_site, specfying which NGI's sites
 * should be displayed on that page.
 * @param $submitvalues Array which contains the data submitted by the user
 * @return null
 */
function submitOldNgi($submitvalues)
{
    //Get the NGI
    $oldNgi_id = $submitvalues['OldNGI'];
    $oldNgi = \Factory::getNgiService()->getNGI($oldNgi_id);
    //Draw the move site form
    drawMoveSite($oldNgi);
}