Esempio n. 1
0
 /**
  * @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']);
 }
Esempio n. 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'];
 }
Esempio n. 3
0
 protected function handleParameters(array $params, $outputmode)
 {
     parent::handleParameters($params, $outputmode);
     $this->m_title = trim($params['title']);
     $this->m_description = trim($params['description']);
 }
Esempio n. 4
0
 /**
  * @see SMWResultPrinter::handleParameters
  * 
  * @since 1.7
  *
  * @param array $params
  * @param $outputmode
  */
 protected function handleParameters(array $params, $outputmode)
 {
     parent::handleParameters($params, $outputmode);
     $this->m_sep = str_replace('_', ' ', $this->params['sep']);
 }