AppStateESS/homestead

View on GitHub
class/DeniedRlcApplicantView.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace Homestead;

class DeniedRlcApplicantView extends View{

    public function show(){

        $tpl = array();

        $tpl['TITLE'] = "Denied RLC Applications - " . Term::toString(Term::getSelectedTerm());
        $tpl['DENIED_PAGER'] = HMS_RLC_Application::denied_pager();

        if(isset($success_msg)){
            $tpl['SUCCESS_MSG'] = $success_msg;
        }

        if(isset($error_msg)){
            $tpl['ERROR_MSG'] = $error_msg;
        }

        \Layout::addPageTitle("Denied RLC Applications");

        return \PHPWS_Template::process($tpl, 'hms', 'admin/view_denied_rlc_applications.tpl');
    }
}