Jelix 1.6.40

function.repeat_string.php

Tags
subpackage

jtpl_plugin

author

Julien Issler

copyright

2009 Julien Issler

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_function_common_repeat_string()  : mixed
Repeat a string

Functions

jtpl_function_common_repeat_string()

Repeat a string

jtpl_function_common_repeat_string(jTpl $tpl[, string $string = '' ][, int $count = 1 ]) : mixed
{repeat_string 'mystring'}
{repeat_string 'mystring',4}
Parameters
$tpl : jTpl

The template

$string : string = ''

The string to repeat

$count : int = 1

How many times to repeat

Return values
mixed

Search results