/**
  * @see SMWResultPrinter::handleParameters
  *
  * @since 1.6
  *
  * @param array $params
  * @param $outputmode
  */
 protected function handleParameters(array $params, $outputmode)
 {
     parent::handleParameters($params, $outputmode);
     // Do not allow backspaces as delimiter, as they'll break stuff.
     if (trim($params['separator']) != '\\') {
         $this->separator = trim($params['separator']);
     }
     $this->fileName = str_replace(' ', '_', $params['filename']);
 }
예제 #2
0
 /**
  * @see SMWResultPrinter::handleParameters
  *
  * @since 1.7
  *
  * @param array $params
  * @param $outputmode
  */
 protected function handleParameters(array $params, $outputmode)
 {
     parent::handleParameters($params, $outputmode);
     $this->syntax = $params['syntax'];
 }