本文へスキップ
ドキュメント

クラス・関数リファレンス

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.