Files
admin
ajaxtabs
bewerbung
bewerbung_QIS
ckeditor5
classes
config
datepicker
fancybox-2.1.7
hogrefe
jquery
language
lib
smarty
demo
lexer
libs
internals
plugins
block.textformat.php
compiler.assign.php
function.assign_debug_info.php
function.config_load.php
function.counter.php
function.cycle.php
function.debug.php
function.eval.php
function.fetch.php
function.html_checkboxes.php
function.html_image.php
function.html_options.php
function.html_radios.php
function.html_select_date.php
function.html_select_time.php
function.html_table.php
function.mailto.php
function.math.php
function.popup.php
function.popup_init.php
modifier.capitalize.php
modifier.cat.php
modifier.count_characters.php
modifier.count_paragraphs.php
modifier.count_sentences.php
modifier.count_words.php
modifier.date_format.php
modifier.debug_print_var.php
modifier.default.php
modifier.escape.php
modifier.indent.php
modifier.lower.php
modifier.nl2br.php
modifier.regex_replace.php
modifier.replace.php
modifier.spacify.php
modifier.string_format.php
modifier.strip.php
modifier.strip_tags.php
modifier.truncate.php
modifier.upper.php
modifier.wordwrap.php
modifiercompiler.cat.php
modifiercompiler.count_characters.php
modifiercompiler.count_paragraphs.php
modifiercompiler.count_sentences.php
modifiercompiler.count_words.php
modifiercompiler.default.php
modifiercompiler.escape.php
modifiercompiler.from_charset.php
modifiercompiler.indent.php
modifiercompiler.lower.php
modifiercompiler.noprint.php
modifiercompiler.string_format.php
modifiercompiler.strip.php
modifiercompiler.strip_tags.php
modifiercompiler.to_charset.php
modifiercompiler.unescape.php
modifiercompiler.upper.php
modifiercompiler.wordwrap.php
outputfilter.trimwhitespace.php
shared.escape_special_chars.php
shared.literal_compiler_param.php
shared.make_timestamp.php
shared.mb_str_replace.php
shared.mb_unicode.php
shared.mb_wordwrap.php
variablefilter.htmlspecialchars.php
sysplugins
Autoloader.php
Config_File.class.php
Smarty.class.php
SmartyBC.class.php
Smarty_Compiler.class.php
debug.tpl
.gitattributes
.gitignore
.travis.yml
BUGS
COMPOSER_RELEASE_NOTES.txt
COPYING.lib
ChangeLog
FAQ
INHERITANCE_RELEASE_NOTES.txt
INSTALL
NEWS
NEW_FEATURES.txt
QUICK_START
README
README.md
RELEASE_NOTES
SMARTY_2_BC_NOTES.txt
SMARTY_3.0_BC_NOTES.txt
SMARTY_3.1_NOTES.txt
TODO
change_log.txt
composer.json
smarty2
smarty_3
Smarty-2.6.28.zip
smarty-3.1.29.zip
media
mpdf
old_CKEditor_4.6.1
overlib
phpspreadsheet_1.8.1.0
praxisstelle
status
templates
templates_c
upload_20210329
uploads
.gitignore
aufl.html
bewerber_daten.php
config.inc.php
cr_test.php
cron_remember_mail_kehl.php
cron_remember_mail_lubu.php
cron_remember_upload.php
fetch_gebdat.php
func_age.php
func_fetch_tan.php
func_get_parameter.php
func_get_restplatz.php
func_id.php
func_notenskala.php
func_standard_hs.php
func_tangen.php
index.php
phpspreadsheet_1.8.1.0.zip
sepa-ueberweisung.jpg
sepa-ueberweisung2.jpg
test1.php
ueberweisungstraeger.png
dvm/lib/smarty/libs/plugins/modifier.wordwrap.php
2023-04-25 13:15:15 +02:00

30 lines
614 B
PHP
Executable File

<?php
/**
* Smarty plugin
* @package Smarty
* @subpackage plugins
*/
/**
* Smarty wordwrap modifier plugin
*
* Type: modifier<br>
* Name: wordwrap<br>
* Purpose: wrap a string of text at a given length
* @link https://smarty.php.net/manual/en/language.modifier.wordwrap.php
* wordwrap (Smarty online manual)
* @author Monte Ohrt <monte at ohrt dot com>
* @param string
* @param integer
* @param string
* @param boolean
* @return string
*/
function smarty_modifier_wordwrap($string,$length=80,$break="\n",$cut=false)
{
return wordwrap($string,$length,$break,$cut);
}
?>