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

setTheme

DOCUMENTATION / PARSERS / Shortcodes / METHODS
/**
 * Set a new instance of the theme that implements Themes interface.
 *
 * @param ThemeInterface $theme Theme interface.
 *
 * @return void 
 *
 * @access public
 */
public static function setTheme(ThemeInterface $theme): void

Examples

use Thermage\Thermage;

$theme = Thermage::getShortcodes()::setTheme(new RadTheme());

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