original_string: 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;
      }
code: 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;
      }
code_tokens: 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 ; }
docstring: Returns `true` if this instance will request a single DataTable, `false` if requesting
  more than one.
  
  @return bool
docstring_tokens: Returns true if this instance will request a single DataTable false if requesting more than one .