Example #1
0
        $view->getLifetime($type_req);
    } elseif ($view_req == 'manfold') {
        $view->getManfold($type_req);
    } elseif ($view_req == 'nonline') {
        $view->getNonline($type_req);
    } elseif ($view_req == 'optpump') {
        $view->getOptPump($type_req);
    } elseif ($view_req == 'photo') {
        $view->getPhoto($type_req);
    } elseif ($view_req == 'physical') {
        $view->getPhysical($type_req);
    } elseif ($view_req == 'reldiel') {
        $view->getReldiel($type_req);
    } elseif ($view_req == 'sellmeier') {
        $view->getSellmeier($type_req);
    } elseif ($view_req == 'specheat') {
        $view->getSpecHeat($type_req);
    } elseif ($view_req == 'spectra') {
        $view->getSpectra($type_req);
    } elseif ($view_req == 'vsound') {
        $view->getVSound($type_req);
    } elseif ($view_req == 'yield') {
        $view->getYield($type_req);
    } elseif ($view_req == 'young') {
        $view->getYoung($type_req);
    } else {
        // Go home with an error
        $GLOBALS['errors'][] = new UserError('The page that you requested could not be found.');
        $view->getHome();
    }
}