AWILUM.GITHUB.IO
Projects Donate About RU RU
Thermage Documentation GITHUB TWITTER

Usage

DOCUMENTATION / PARSERS / Shortcodes / GETTING STARTED

Simple example of shortcodes usage with element Div.

use function Thermage\div;
use function Thermage\render;

// ...

render (
  div('[bg=purple][color=green][b]Stay RAD![/b][/color][/bg]')
);
Terminal
$ php thermage.php
Stay RAD!

Getting Started

  • Usage

Methods

  • add Add shortcode handler.
  • addEvent Add shortcode event handler.
  • getFacade Get Shortcodes Facade.
  • getTheme Get Shortcodes theme.
  • parse Parse and processes text to replaces shortcodes.
  • parseText Parses text into shortcodes.
  • setTheme Set Shortcodes theme.
  • stripShortcodes Strip shortcodes.

Shortcodes

  • anchor Create anchor.
  • bg Set background color style.
  • blink Set blink style.
  • bold Set bold style.
  • color Set text color style.
  • dim Set dim style.
  • invisible Set invisible style.
  • italic Set italic style.
  • reverse Set reverse style.
  • strikethrough Set strikethrough style.
  • underline Set underline style.

POWERED BY FLEXTYPE| SITEMAP| SOURCE CODE| TOTAL PAGES: 744

Copyright © Sergey Romanenko