public function isRequestingSingleDataTable()
    {
        $requestArray = $this->request->getRequestArray() + $_GET + $_POST;
        $date   = Common::getRequestVar('date', null, 'string', $requestArray);
        $period = Common::getRequestVar('period', null, 'string', $requestArray);
        $idSite = Common::getRequestVar('idSite', null, 'string', $requestArray);

        if (Period::isMultiplePeriod($date, $period)
            || strpos($idSite, ',') !== false
            || $idSite == 'all'
        ) {
            return false;
        }

        return true;
    }
public function isRequestingSingleDataTable()
    {
        $requestArray = $this->request->getRequestArray() + $_GET + $_POST;
        $date   = Common::getRequestVar('date', null, 'string', $requestArray);
        $period = Common::getRequestVar('period', null, 'string', $requestArray);
        $idSite = Common::getRequestVar('idSite', null, 'string', $requestArray);

        if (Period::isMultiplePeriod($date, $period)
            || strpos($idSite, ',') !== false
            || $idSite == 'all'
        ) {
            return false;
        }

        return true;
    }
public function isRequestingSingleDataTable ( ) { $ requestArray = $ this -> request -> getRequestArray ( ) + $ _GET + $ _POST ; $ date = Common :: getRequestVar ( 'date' , null , 'string' , $ requestArray ) ; $ period = Common :: getRequestVar ( 'period' , null , 'string' , $ requestArray ) ; $ idSite = Common :: getRequestVar ( 'idSite' , null , 'string' , $ requestArray ) ; if ( Period :: isMultiplePeriod ( $ date , $ period ) || strpos ( $ idSite , ',' ) !== false || $ idSite == 'all' ) { return false ; } return true ; }
Returns `true` if this instance will request a single DataTable, `false` if requesting
more than one.

@return bool
Returns true if this instance will request a single DataTable false if requesting more than one .