Exponent v2.7.2

modifier.brightness.php

Table of Contents

smarty_modifier_brightness()  : string
Smarty {brightness} modifier plugin

Functions

smarty_modifier_brightness()

Smarty {brightness} modifier plugin

smarty_modifier_brightness([string $colourstr = '' ][, int $steps = 20 ]) : string

Type: modifier
Name: brightness
Purpose: Calculate a lighter/darker color from the one passed +- 255 steps, default is 20 steps brighter

Parameters
$colourstr : string = ''
$steps : int = 20
Tags
subpackage

Modifier

Return values
string

Search results