AppStateESS/homestead

View on GitHub
class/Report/CancelledAppsList/CancelledAppsListController.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace Homestead\Report\CancelledAppsList;

use \Homestead\ReportController;
use \Homestead\iSyncReport;
use \Homestead\iAsyncReport;
use \Homestead\iSchedReport;
use \Homestead\iCsvReportView;

/**
 * Cancelled Applications List Controller
 *
 * @author Jeremy Booker
 * @package HMS
 */

class CancelledAppsListController extends ReportController implements iSyncReport, iAsyncReport, iSchedReport, iCsvReportView {

    public function setParams(Array $params)
    {
        $this->report->setTerm($params['term']);
    }

    public function getParams()
    {
        $params = array();

        $params['term'] = $this->report->getTerm();

        return $params;
    }
}