Jelix 1.6.40

modifier.indent.php

Plugin from smarty project and adapted for jtpl

Tags
subpackage

jtpl_plugin

copyright

2001-2003 ispi of Lincoln, Inc.

link
http://smarty.php.net/
link
http://jelix.org/
licence

GNU Lesser General Public Licence see LICENCE file or http://www.gnu.org/licenses/lgpl.html

Table of Contents

jtpl_modifier_common_indent()  : string
Modifier plugin: indent lines of text

Functions

jtpl_modifier_common_indent()

Modifier plugin: indent lines of text

jtpl_modifier_common_indent(string $string[, int $chars = 4 ][, string $char = " " ]) : string
{$mytext|indent}
{$mytext|indent:$number_of_spaces}
{$mytext|indent:$number_of_chars:$chars_to_repeat}
Parameters
$string : string
$chars : int = 4

the value of the indentation

$char : string = " "

the char to repeat

Return values
string

Search results