클래스·함수 명세

Formatter

Zittme\Framework\Formatter 클래스의 공개 메서드 목록입니다. 이 문서는 Zittme 코어 소스에서 자동 생성되었습니다.

소스: common/framework/Formatter.php

공개 메서드

  • static function text2html(string $text, int $options = 0)
  • Convert plain text to HTML.
  • static function html2text(string $html)
  • Convert HTML to plain text.
  • static function markdown2html(string $markdown, int $options = 0)
  • Convert Markdown to HTML.
  • static function html2markdown(string $html)
  • Convert HTML to Markdown.
  • static function bbcode(string $bbcode)
  • Convert BBCode to HTML.
  • static function applySmartQuotes(string $html)
  • Apply smart quotes and other stylistic enhancements to HTML.
  • static function compileLESS($source_filename, string $target_filename, array $variables = [], bool $minify = false)
  • Compile LESS into CSS.
  • static function compileSCSS($source_filename, string $target_filename, array $variables = [], bool $minify = false, bool $make_sourcemap = false)
  • Compile SCSS into CSS.
  • static function minifyCSS($source_filename, string $target_filename)
  • Minify CSS.
  • static function minifyJS($source_filename, string $target_filename)
  • Minify JS.
  • static function concatCSS($source_filename, string $target_filename, bool $add_comment = true, array &$imported_list = [])
  • CSS concatenation subroutine for compileLESS() and compileSCSS().
  • static function concatJS($source_filename)
  • JS concatenation subroutine.
  • static function convertIECondition($condition)
  • Convert IE conditional comments to JS conditions.