AppStateESS/homestead

View on GitHub
class/Report/CheckoutList/CheckoutListController.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace Homestead\Report\CheckoutList;

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

/**
 * Controller for the CheckinList report.
 *
 * @author Jeremy Booker
 * @package HMS
 */

class CheckoutListController extends ReportController implements iSyncReport, iAsyncReport, iSchedReport, iHtmlReportView, iPdfReportView, iCsvReportView {

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

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

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

        return $params;
    }

}