Example #1
0
 /**
  * Processes the captured output.
  * This method converts the content in markdown syntax to HTML code.
  * If {@link purifyOutput} is true, the HTML code will also be purified.
  * @param string $output the captured output to be processed
  * @see convert
  */
 public function processOutput($output)
 {
     $output = $this->transform($output);
     if ($this->purifyOutput) {
         $purifier = new CHtmlPurifier();
         $output = $purifier->purify($output);
     }
     parent::processOutput($output);
 }
 /**
  * Processes the captured output.
  * This method purifies the output using {@link http://htmlpurifier.org HTML Purifier}.
  * @param string $output the captured output to be processed
  */
 public function processOutput($output)
 {
     $output = $this->purify($output);
     parent::processOutput($output);
 }
 /**
  * Processes the captured output.
  * This method decorates the output with the specified {@link view}.
  * @param string $output the captured output to be processed
  */
 public function processOutput($output)
 {
     $output = $this->decorate($output);
     parent::processOutput($output);
 }
 /**
  * Processes the captured output.
  * This method highlights the output according to the syntax of the specified {@link language}.
  * @param string $output the captured output to be processed
  */
 public function processOutput($output)
 {
     $output = $this->highlight($output);
     parent::processOutput($output);
 }
 public function processOutput($output)
 {
     parent::processOutput($this->parse($output));
 }
Example #6
0
 /**
  *
  *
  * @param unknown $filterChain
  * @return unknown
  */
 public function filter($filterChain)
 {
     $this->preFilter($filterChain);
     return parent::filter($filterChain);
 }