![]() |
Documentación GVHIDRA 3.1.5
|
Ir al código fuente de este archivo.
Namespaces | |
namespace | Smarty |
Funciones | |
smarty_modifier_indent ($string, $chars=4, $char=" ") |
smarty_modifier_indent | ( | $ | string, |
$ | chars = 4 , |
||
$ | char = " " |
||
) |
Smarty indent modifier plugin
Type: modifier
Name: indent
Purpose: indent lines of text indent (Smarty online manual) Monte Ohrt
string | |
integer | |
string |
Definición en la línea 23 del archivo modifier.indent.php.
{ return preg_replace('!^!m',str_repeat($char,$chars),$string); }