示例#1
0
 /**
  *	Build HTML
  *
  *	@param String $ouput- The String for output
  *	@return String - The whole html with style
  */
 private function buildHtml($output)
 {
     $returnString = Debug::$defaultTemplate;
     //Return Styled Html
     if (Debug::$debugToConsole) {
         return strip_tags($output);
     }
     return HtmlBuilder::make("span")->css(Debug::formatStyle())->html(str_replace("{HTML}", $output, $returnString))->output();
 }