Added getter to HtmlOutputNodeProcessor to expose output type
authorPeter Frühwirt <peter.fruehwirt@viecode.com>
Thu, 29 Dec 2016 18:58:33 +0000 (19:58 +0100)
committerGitHub <noreply@github.com>
Thu, 29 Dec 2016 18:58:33 +0000 (19:58 +0100)
wcfsetup/install/files/lib/system/html/output/node/HtmlOutputNodeProcessor.class.php

index 35c35e06fe11797c70200d465a4f2448cff9c57a..dd8addef823af36a9d2045c723c0b0d9133cde4f 100644 (file)
@@ -56,6 +56,15 @@ class HtmlOutputNodeProcessor extends AbstractHtmlNodeProcessor {
                $this->outputType = $outputType;
        }
        
+       /**
+        * Returns the current output type.
+        * 
+        * @return      string
+        */
+       public function getOutputType() {
+               return $this->outputType;
+       }
+       
        /**
         * @inheritDoc
         */