public function getValues(DataParam $params, array $years = null)
 {
     if (Session::isLogged()) {
         if (!$params->anyValueIsArray()) {
             return $this->getValuesWithSimpleParams($params, $years);
         } else {
             return $this->getValuesWithMultipleParams($params, $years);
         }
     } else {
         throw new LoginException();
     }
 }