Beispiel #1
0
 /**
  * Handles any post processing that the formatter requires
  *
  * @since 1.0
  * @uses  Formatter::getPostProcessor()
  * @uses  PostProcesor::setParamter()
  * @uses  PostProcesor::execute()
  *
  * @param  array $params Parameters to set on the post processor
  */
 public function doPostProcessing(array $params = array())
 {
     $processor = $this->formatter->getPostProcessor();
     foreach ($params as $key => $value) {
         $processor->setParameter($key, $value);
     }
     $processor->execute();
 }
Beispiel #2
0
 public function testGetPostProcessor()
 {
     $this->assertInstanceOf('Tmont\\Midi\\Reporting\\DefaultPostProcessor', $this->obj->getPostProcessor());
 }