Exponent v2.7.2

modifier.highlight.php

Table of Contents

smarty_modifier_highlight()  : string
Smarty {highlight} modifier plugin

Functions

smarty_modifier_highlight()

Smarty {highlight} modifier plugin

smarty_modifier_highlight([string $text = '' ][, string $word = '' ][, string $highlight = 'html5' ]) : string

Type: modifier
Name: highlight
Purpose: highlight selected phrases in text

Parameters
$text : string = ''
$word : string = ''

phrase(s) to highlight

$highlight : string = 'html5'

type of highlight (style/class) to place inside tag

Tags
subpackage

Modifier

Return values
string

Search results