remove html tags from PHPDoc blocks

This commit is contained in:
Uwe Tews
2017-11-11 07:11:33 +01:00
parent 96bcbd2221
commit 654659aadf
42 changed files with 134 additions and 134 deletions

View File

@@ -8,19 +8,19 @@
/** /**
* Smarty {textformat}{/textformat} block plugin * Smarty {textformat}{/textformat} block plugin
* Type: block function<br> * Type: block function
* Name: textformat<br> * Name: textformat
* Purpose: format text a certain way with preset styles * Purpose: format text a certain way with preset styles
* or custom wrap/indent settings<br> * or custom wrap/indent settings
* Params: * Params:
* <pre> *
* - style - string (email) * - style - string (email)
* - indent - integer (0) * - indent - integer (0)
* - wrap - integer (80) * - wrap - integer (80)
* - wrap_char - string ("\n") * - wrap_char - string ("\n")
* - indent_char - string (" ") * - indent_char - string (" ")
* - wrap_boundary - boolean (true) * - wrap_boundary - boolean (true)
* </pre> *
* *
* @link http://www.smarty.net/manual/en/language.function.textformat.php {textformat} * @link http://www.smarty.net/manual/en/language.function.textformat.php {textformat}
* (Smarty online manual) * (Smarty online manual)

View File

@@ -8,8 +8,8 @@
/** /**
* Smarty {counter} function plugin * Smarty {counter} function plugin
* Type: function<br> * Type: function
* Name: counter<br> * Name: counter
* Purpose: print out a counter value * Purpose: print out a counter value
* *
* @author Monte Ohrt <monte at ohrt dot com> * @author Monte Ohrt <monte at ohrt dot com>

View File

@@ -8,12 +8,12 @@
/** /**
* Smarty {cycle} function plugin * Smarty {cycle} function plugin
* Type: function<br> * Type: function
* Name: cycle<br> * Name: cycle
* Date: May 3, 2002<br> * Date: May 3, 2002
* Purpose: cycle through given values<br> * Purpose: cycle through given values
* Params: * Params:
* <pre> *
* - name - name of cycle (optional) * - name - name of cycle (optional)
* - values - comma separated list of values to cycle, or an array of values to cycle * - values - comma separated list of values to cycle, or an array of values to cycle
* (this can be left out for subsequent calls) * (this can be left out for subsequent calls)
@@ -22,13 +22,13 @@
* - advance - boolean - whether or not to advance the cycle * - advance - boolean - whether or not to advance the cycle
* - delimiter - the value delimiter, default is "," * - delimiter - the value delimiter, default is ","
* - assign - boolean, assigns to template var instead of printed. * - assign - boolean, assigns to template var instead of printed.
* </pre> *
* Examples:<br> * Examples:
* <pre> *
* {cycle values="#eeeeee,#d0d0d0d"} * {cycle values="#eeeeee,#d0d0d0d"}
* {cycle name=row values="one,two,three" reset=true} * {cycle name=row values="one,two,three" reset=true}
* {cycle name=row} * {cycle name=row}
* </pre> *
* *
* @link http://www.smarty.net/manual/en/language.function.cycle.php {cycle} * @link http://www.smarty.net/manual/en/language.function.cycle.php {cycle}
* (Smarty online manual) * (Smarty online manual)

View File

@@ -8,8 +8,8 @@
/** /**
* Smarty {fetch} plugin * Smarty {fetch} plugin
* Type: function<br> * Type: function
* Name: fetch<br> * Name: fetch
* Purpose: fetch file, web or ftp data and display results * Purpose: fetch file, web or ftp data and display results
* *
* @link http://www.smarty.net/manual/en/language.function.fetch.php {fetch} * @link http://www.smarty.net/manual/en/language.function.fetch.php {fetch}

View File

@@ -8,19 +8,19 @@
/** /**
* Smarty {html_checkboxes} function plugin * Smarty {html_checkboxes} function plugin
* File: function.html_checkboxes.php<br> * File: function.html_checkboxes.php
* Type: function<br> * Type: function
* Name: html_checkboxes<br> * Name: html_checkboxes
* Date: 24.Feb.2003<br> * Date: 24.Feb.2003
* Purpose: Prints out a list of checkbox input types<br> * Purpose: Prints out a list of checkbox input types
* Examples: * Examples:
* <pre> *
* {html_checkboxes values=$ids output=$names} * {html_checkboxes values=$ids output=$names}
* {html_checkboxes values=$ids name='box' separator='<br>' output=$names} * {html_checkboxes values=$ids name='box' separator='<br>' output=$names}
* {html_checkboxes values=$ids checked=$checked separator='<br>' output=$names} * {html_checkboxes values=$ids checked=$checked separator='<br>' output=$names}
* </pre> *
* Params: * Params:
* <pre> *
* - name (optional) - string default "checkbox" * - name (optional) - string default "checkbox"
* - values (required) - array * - values (required) - array
* - options (optional) - associative array * - options (optional) - associative array
@@ -29,7 +29,7 @@
* - output (optional) - the output next to each checkbox * - output (optional) - the output next to each checkbox
* - assign (optional) - assign the output as an array to this variable * - assign (optional) - assign the output as an array to this variable
* - escape (optional) - escape the content (not value), defaults to true * - escape (optional) - escape the content (not value), defaults to true
* </pre> *
* *
* @link http://www.smarty.net/manual/en/language.function.html.checkboxes.php {html_checkboxes} * @link http://www.smarty.net/manual/en/language.function.html.checkboxes.php {html_checkboxes}
* (Smarty online manual) * (Smarty online manual)

View File

@@ -8,20 +8,20 @@
/** /**
* Smarty {html_image} function plugin * Smarty {html_image} function plugin
* Type: function<br> * Type: function
* Name: html_image<br> * Name: html_image
* Date: Feb 24, 2003<br> * Date: Feb 24, 2003
* Purpose: format HTML tags for the image<br> * Purpose: format HTML tags for the image
* Examples: {html_image file="/images/masthead.gif"}<br> * Examples: {html_image file="/images/masthead.gif"}
* Output: <img src="/images/masthead.gif" width=400 height=23><br> * Output: <img src="/images/masthead.gif" width=400 height=23>
* Params: * Params:
* <pre> *
* - file - (required) - file (and path) of image * - file - (required) - file (and path) of image
* - height - (optional) - image height (default actual height) * - height - (optional) - image height (default actual height)
* - width - (optional) - image width (default actual width) * - width - (optional) - image width (default actual width)
* - basedir - (optional) - base directory for absolute paths, default is environment variable DOCUMENT_ROOT * - basedir - (optional) - base directory for absolute paths, default is environment variable DOCUMENT_ROOT
* - path_prefix - prefix for path output (optional, default empty) * - path_prefix - prefix for path output (optional, default empty)
* </pre> *
* *
* @link http://www.smarty.net/manual/en/language.function.html.image.php {html_image} * @link http://www.smarty.net/manual/en/language.function.html.image.php {html_image}
* (Smarty online manual) * (Smarty online manual)

View File

@@ -8,12 +8,12 @@
/** /**
* Smarty {html_options} function plugin * Smarty {html_options} function plugin
* Type: function<br> * Type: function
* Name: html_options<br> * Name: html_options
* Purpose: Prints the list of <option> tags generated from * Purpose: Prints the list of <option> tags generated from
* the passed parameters<br> * the passed parameters
* Params: * Params:
* <pre> *
* - name (optional) - string default "select" * - name (optional) - string default "select"
* - values (required) - if no options supplied) - array * - values (required) - if no options supplied) - array
* - options (required) - if no values supplied) - associative array * - options (required) - if no values supplied) - associative array
@@ -21,7 +21,7 @@
* - output (required) - if not options supplied) - array * - output (required) - if not options supplied) - array
* - id (optional) - string default not set * - id (optional) - string default not set
* - class (optional) - string default not set * - class (optional) - string default not set
* </pre> *
* *
* @link http://www.smarty.net/manual/en/language.function.html.options.php {html_image} * @link http://www.smarty.net/manual/en/language.function.html.options.php {html_image}
* (Smarty online manual) * (Smarty online manual)

View File

@@ -8,13 +8,13 @@
/** /**
* Smarty {html_radios} function plugin * Smarty {html_radios} function plugin
* File: function.html_radios.php<br> * File: function.html_radios.php
* Type: function<br> * Type: function
* Name: html_radios<br> * Name: html_radios
* Date: 24.Feb.2003<br> * Date: 24.Feb.2003
* Purpose: Prints out a list of radio input types<br> * Purpose: Prints out a list of radio input types
* Params: * Params:
* <pre> *
* - name (optional) - string default "radio" * - name (optional) - string default "radio"
* - values (required) - array * - values (required) - array
* - options (required) - associative array * - options (required) - associative array
@@ -23,13 +23,13 @@
* - output (optional) - the output next to each radio button * - output (optional) - the output next to each radio button
* - assign (optional) - assign the output as an array to this variable * - assign (optional) - assign the output as an array to this variable
* - escape (optional) - escape the content (not value), defaults to true * - escape (optional) - escape the content (not value), defaults to true
* </pre> *
* Examples: * Examples:
* <pre> *
* {html_radios values=$ids output=$names} * {html_radios values=$ids output=$names}
* {html_radios values=$ids name='box' separator='<br>' output=$names} * {html_radios values=$ids name='box' separator='<br>' output=$names}
* {html_radios values=$ids checked=$checked separator='<br>' output=$names} * {html_radios values=$ids checked=$checked separator='<br>' output=$names}
* </pre> *
* *
* @link http://smarty.php.net/manual/en/language.function.html.radios.php {html_radios} * @link http://smarty.php.net/manual/en/language.function.html.radios.php {html_radios}
* (Smarty online manual) * (Smarty online manual)

View File

@@ -8,11 +8,11 @@
/** /**
* Smarty {html_select_date} plugin * Smarty {html_select_date} plugin
* Type: function<br> * Type: function
* Name: html_select_date<br> * Name: html_select_date
* Purpose: Prints the dropdowns for date selection. * Purpose: Prints the dropdowns for date selection.
* ChangeLog: * ChangeLog:
* <pre> *
* - 1.0 initial release * - 1.0 initial release
* - 1.1 added support for +/- N syntax for begin * - 1.1 added support for +/- N syntax for begin
* and end year values. (Monte) * and end year values. (Monte)
@@ -28,7 +28,7 @@
* of 0000-00-00 dates (cybot, boots) * of 0000-00-00 dates (cybot, boots)
* - 2.0 complete rewrite for performance, * - 2.0 complete rewrite for performance,
* added attributes month_names, *_id * added attributes month_names, *_id
* </pre> *
* *
* @link http://www.smarty.net/manual/en/language.function.html.select.date.php {html_select_date} * @link http://www.smarty.net/manual/en/language.function.html.select.date.php {html_select_date}
* (Smarty online manual) * (Smarty online manual)

View File

@@ -8,8 +8,8 @@
/** /**
* Smarty {html_select_time} function plugin * Smarty {html_select_time} function plugin
* Type: function<br> * Type: function
* Name: html_select_time<br> * Name: html_select_time
* Purpose: Prints the dropdowns for time selection * Purpose: Prints the dropdowns for time selection
* *
* @link http://www.smarty.net/manual/en/language.function.html.select.time.php {html_select_time} * @link http://www.smarty.net/manual/en/language.function.html.select.time.php {html_select_time}

View File

@@ -8,12 +8,12 @@
/** /**
* Smarty {html_table} function plugin * Smarty {html_table} function plugin
* Type: function<br> * Type: function
* Name: html_table<br> * Name: html_table
* Date: Feb 17, 2003<br> * Date: Feb 17, 2003
* Purpose: make an html table from an array of data<br> * Purpose: make an html table from an array of data
* Params: * Params:
* <pre> *
* - loop - array to loop through * - loop - array to loop through
* - cols - number of columns, comma separated list of column names * - cols - number of columns, comma separated list of column names
* or array of column names * or array of column names
@@ -28,13 +28,13 @@
* - hdir - horizontal direction (default: "right", means left-to-right) * - hdir - horizontal direction (default: "right", means left-to-right)
* - inner - inner loop (default "cols": print $loop line by line, * - inner - inner loop (default "cols": print $loop line by line,
* $loop will be printed column by column otherwise) * $loop will be printed column by column otherwise)
* </pre> *
* Examples: * Examples:
* <pre> *
* {table loop=$data} * {table loop=$data}
* {table loop=$data cols=4 tr_attr='"bgcolor=red"'} * {table loop=$data cols=4 tr_attr='"bgcolor=red"'}
* {table loop=$data cols="first,second,third" tr_attr=$colors} * {table loop=$data cols="first,second,third" tr_attr=$colors}
* </pre> *
* *
* @author Monte Ohrt <monte at ohrt dot com> * @author Monte Ohrt <monte at ohrt dot com>
* @author credit to Messju Mohr <messju at lammfellpuschen dot de> * @author credit to Messju Mohr <messju at lammfellpuschen dot de>

View File

@@ -8,12 +8,12 @@
/** /**
* Smarty {mailto} function plugin * Smarty {mailto} function plugin
* Type: function<br> * Type: function
* Name: mailto<br> * Name: mailto
* Date: May 21, 2002 * Date: May 21, 2002
* Purpose: automate mailto address link creation, and optionally encode them.<br> * Purpose: automate mailto address link creation, and optionally encode them.
* Params: * Params:
* <pre> *
* - address - (required) - e-mail address * - address - (required) - e-mail address
* - text - (optional) - text to display, default is address * - text - (optional) - text to display, default is address
* - encode - (optional) - can be one of: * - encode - (optional) - can be one of:
@@ -27,16 +27,16 @@
* - newsgroups - (optional) - newsgroup(s) to post to * - newsgroups - (optional) - newsgroup(s) to post to
* - followupto - (optional) - address(es) to follow up to * - followupto - (optional) - address(es) to follow up to
* - extra - (optional) - extra tags for the href link * - extra - (optional) - extra tags for the href link
* </pre> *
* Examples: * Examples:
* <pre> *
* {mailto address="me@domain.com"} * {mailto address="me@domain.com"}
* {mailto address="me@domain.com" encode="javascript"} * {mailto address="me@domain.com" encode="javascript"}
* {mailto address="me@domain.com" encode="hex"} * {mailto address="me@domain.com" encode="hex"}
* {mailto address="me@domain.com" subject="Hello to you!"} * {mailto address="me@domain.com" subject="Hello to you!"}
* {mailto address="me@domain.com" cc="you@domain.com,they@domain.com"} * {mailto address="me@domain.com" cc="you@domain.com,they@domain.com"}
* {mailto address="me@domain.com" extra='class="mailto"'} * {mailto address="me@domain.com" extra='class="mailto"'}
* </pre> *
* *
* @link http://www.smarty.net/manual/en/language.function.mailto.php {mailto} * @link http://www.smarty.net/manual/en/language.function.mailto.php {mailto}
* (Smarty online manual) * (Smarty online manual)

View File

@@ -9,8 +9,8 @@
/** /**
* Smarty {math} function plugin * Smarty {math} function plugin
* Type: function<br> * Type: function
* Name: math<br> * Name: math
* Purpose: handle math computations in template * Purpose: handle math computations in template
* *
* @link http://www.smarty.net/manual/en/language.function.math.php {math} * @link http://www.smarty.net/manual/en/language.function.math.php {math}

View File

@@ -8,8 +8,8 @@
/** /**
* Smarty capitalize modifier plugin * Smarty capitalize modifier plugin
* Type: modifier<br> * Type: modifier
* Name: capitalize<br> * Name: capitalize
* Purpose: capitalize words in the string * Purpose: capitalize words in the string
* {@internal {$string|capitalize:true:true} is the fastest option for MBString enabled systems }} * {@internal {$string|capitalize:true:true} is the fastest option for MBString enabled systems }}
* *

View File

@@ -8,10 +8,10 @@
/** /**
* Smarty date_format modifier plugin * Smarty date_format modifier plugin
* Type: modifier<br> * Type: modifier
* Name: date_format<br> * Name: date_format
* Purpose: format datestamps via strftime<br> * Purpose: format datestamps via strftime
* Input:<br> * Input:
* - string: input date string * - string: input date string
* - format: strftime format for output * - format: strftime format for output
* - default_date: default date if $string is empty * - default_date: default date if $string is empty

View File

@@ -8,8 +8,8 @@
/** /**
* Smarty debug_print_var modifier plugin * Smarty debug_print_var modifier plugin
* Type: modifier<br> * Type: modifier
* Name: debug_print_var<br> * Name: debug_print_var
* Purpose: formats variable contents for display in the console * Purpose: formats variable contents for display in the console
* *
* @author Monte Ohrt <monte at ohrt dot com> * @author Monte Ohrt <monte at ohrt dot com>

View File

@@ -8,8 +8,8 @@
/** /**
* Smarty escape modifier plugin * Smarty escape modifier plugin
* Type: modifier<br> * Type: modifier
* Name: escape<br> * Name: escape
* Purpose: escape string for output * Purpose: escape string for output
* *
* @link http://www.smarty.net/docs/en/language.modifier.escape * @link http://www.smarty.net/docs/en/language.modifier.escape

View File

@@ -7,8 +7,8 @@
*/ */
/** /**
* Smarty wordwrap modifier plugin * Smarty wordwrap modifier plugin
* Type: modifier<br> * Type: modifier
* Name: mb_wordwrap<br> * Name: mb_wordwrap
* Purpose: Wrap a string to a given number of characters * Purpose: Wrap a string to a given number of characters
* *

View File

@@ -8,8 +8,8 @@
/** /**
* Smarty regex_replace modifier plugin * Smarty regex_replace modifier plugin
* Type: modifier<br> * Type: modifier
* Name: regex_replace<br> * Name: regex_replace
* Purpose: regular expression search/replace * Purpose: regular expression search/replace
* *
* @link http://smarty.php.net/manual/en/language.modifier.regex.replace.php * @link http://smarty.php.net/manual/en/language.modifier.regex.replace.php

View File

@@ -8,8 +8,8 @@
/** /**
* Smarty replace modifier plugin * Smarty replace modifier plugin
* Type: modifier<br> * Type: modifier
* Name: replace<br> * Name: replace
* Purpose: simple search/replace * Purpose: simple search/replace
* *
* @link http://smarty.php.net/manual/en/language.modifier.replace.php replace (Smarty online manual) * @link http://smarty.php.net/manual/en/language.modifier.replace.php replace (Smarty online manual)

View File

@@ -8,8 +8,8 @@
/** /**
* Smarty spacify modifier plugin * Smarty spacify modifier plugin
* Type: modifier<br> * Type: modifier
* Name: spacify<br> * Name: spacify
* Purpose: add spaces between characters in a string * Purpose: add spaces between characters in a string
* *
* @link http://smarty.php.net/manual/en/language.modifier.spacify.php spacify (Smarty online manual) * @link http://smarty.php.net/manual/en/language.modifier.spacify.php spacify (Smarty online manual)

View File

@@ -8,8 +8,8 @@
/** /**
* Smarty truncate modifier plugin * Smarty truncate modifier plugin
* Type: modifier<br> * Type: modifier
* Name: truncate<br> * Name: truncate
* Purpose: Truncate a string to a certain length if necessary, * Purpose: Truncate a string to a certain length if necessary,
* optionally splitting in the middle of a word, and * optionally splitting in the middle of a word, and
* appending the $etc string or inserting $etc into the middle. * appending the $etc string or inserting $etc into the middle.

View File

@@ -8,11 +8,11 @@
/** /**
* Smarty cat modifier plugin * Smarty cat modifier plugin
* Type: modifier<br> * Type: modifier
* Name: cat<br> * Name: cat
* Date: Feb 24, 2003<br> * Date: Feb 24, 2003
* Purpose: catenate a value to a variable<br> * Purpose: catenate a value to a variable
* Input: string to catenate<br> * Input: string to catenate
* Example: {$var|cat:"foo"} * Example: {$var|cat:"foo"}
* *
* @link http://smarty.php.net/manual/en/language.modifier.cat.php cat * @link http://smarty.php.net/manual/en/language.modifier.cat.php cat

View File

@@ -8,8 +8,8 @@
/** /**
* Smarty count_characters modifier plugin * Smarty count_characters modifier plugin
* Type: modifier<br> * Type: modifier
* Name: count_characters<br> * Name: count_characters
* Purpose: count the number of characters in a text * Purpose: count the number of characters in a text
* *
* @link http://www.smarty.net/manual/en/language.modifier.count.characters.php count_characters (Smarty online manual) * @link http://www.smarty.net/manual/en/language.modifier.count.characters.php count_characters (Smarty online manual)

View File

@@ -8,8 +8,8 @@
/** /**
* Smarty count_paragraphs modifier plugin * Smarty count_paragraphs modifier plugin
* Type: modifier<br> * Type: modifier
* Name: count_paragraphs<br> * Name: count_paragraphs
* Purpose: count the number of paragraphs in a text * Purpose: count the number of paragraphs in a text
* *
* @link http://www.smarty.net/manual/en/language.modifier.count.paragraphs.php * @link http://www.smarty.net/manual/en/language.modifier.count.paragraphs.php

View File

@@ -8,7 +8,7 @@
/** /**
* Smarty count_sentences modifier plugin * Smarty count_sentences modifier plugin
* Type: modifier<br> * Type: modifier
* Name: count_sentences * Name: count_sentences
* Purpose: count the number of sentences in a text * Purpose: count the number of sentences in a text
* *

View File

@@ -8,8 +8,8 @@
/** /**
* Smarty count_words modifier plugin * Smarty count_words modifier plugin
* Type: modifier<br> * Type: modifier
* Name: count_words<br> * Name: count_words
* Purpose: count the number of words in a text * Purpose: count the number of words in a text
* *
* @link http://www.smarty.net/manual/en/language.modifier.count.words.php count_words (Smarty online manual) * @link http://www.smarty.net/manual/en/language.modifier.count.words.php count_words (Smarty online manual)

View File

@@ -8,8 +8,8 @@
/** /**
* Smarty default modifier plugin * Smarty default modifier plugin
* Type: modifier<br> * Type: modifier
* Name: default<br> * Name: default
* Purpose: designate default value for empty variables * Purpose: designate default value for empty variables
* *
* @link http://www.smarty.net/manual/en/language.modifier.default.php default (Smarty online manual) * @link http://www.smarty.net/manual/en/language.modifier.default.php default (Smarty online manual)

View File

@@ -8,8 +8,8 @@
/** /**
* Smarty escape modifier plugin * Smarty escape modifier plugin
* Type: modifier<br> * Type: modifier
* Name: escape<br> * Name: escape
* Purpose: escape string for output * Purpose: escape string for output
* *
* @link http://www.smarty.net/docsv2/en/language.modifier.escape count_characters (Smarty online manual) * @link http://www.smarty.net/docsv2/en/language.modifier.escape count_characters (Smarty online manual)

View File

@@ -8,8 +8,8 @@
/** /**
* Smarty from_charset modifier plugin * Smarty from_charset modifier plugin
* Type: modifier<br> * Type: modifier
* Name: from_charset<br> * Name: from_charset
* Purpose: convert character encoding from $charset to internal encoding * Purpose: convert character encoding from $charset to internal encoding
* *
* @author Rodney Rehm * @author Rodney Rehm

View File

@@ -8,8 +8,8 @@
/** /**
* Smarty indent modifier plugin * Smarty indent modifier plugin
* Type: modifier<br> * Type: modifier
* Name: indent<br> * Name: indent
* Purpose: indent lines of text * Purpose: indent lines of text
* *
* @link http://www.smarty.net/manual/en/language.modifier.indent.php indent (Smarty online manual) * @link http://www.smarty.net/manual/en/language.modifier.indent.php indent (Smarty online manual)

View File

@@ -8,8 +8,8 @@
/** /**
* Smarty lower modifier plugin * Smarty lower modifier plugin
* Type: modifier<br> * Type: modifier
* Name: lower<br> * Name: lower
* Purpose: convert string to lowercase * Purpose: convert string to lowercase
* *
* @link http://www.smarty.net/manual/en/language.modifier.lower.php lower (Smarty online manual) * @link http://www.smarty.net/manual/en/language.modifier.lower.php lower (Smarty online manual)

View File

@@ -8,8 +8,8 @@
/** /**
* Smarty noprint modifier plugin * Smarty noprint modifier plugin
* Type: modifier<br> * Type: modifier
* Name: noprint<br> * Name: noprint
* Purpose: return an empty string * Purpose: return an empty string
* *
* @author Uwe Tews * @author Uwe Tews

View File

@@ -8,8 +8,8 @@
/** /**
* Smarty string_format modifier plugin * Smarty string_format modifier plugin
* Type: modifier<br> * Type: modifier
* Name: string_format<br> * Name: string_format
* Purpose: format strings via sprintf * Purpose: format strings via sprintf
* *
* @link http://www.smarty.net/manual/en/language.modifier.string.format.php string_format (Smarty online manual) * @link http://www.smarty.net/manual/en/language.modifier.string.format.php string_format (Smarty online manual)

View File

@@ -8,11 +8,11 @@
/** /**
* Smarty strip modifier plugin * Smarty strip modifier plugin
* Type: modifier<br> * Type: modifier
* Name: strip<br> * Name: strip
* Purpose: Replace all repeated spaces, newlines, tabs * Purpose: Replace all repeated spaces, newlines, tabs
* with a single space or supplied replacement string.<br> * with a single space or supplied replacement string.
* Example: {$var|strip} {$var|strip:"&nbsp;"}<br> * Example: {$var|strip} {$var|strip:"&nbsp;"}
* Date: September 25th, 2002 * Date: September 25th, 2002
* *
* @link http://www.smarty.net/manual/en/language.modifier.strip.php strip (Smarty online manual) * @link http://www.smarty.net/manual/en/language.modifier.strip.php strip (Smarty online manual)

View File

@@ -8,8 +8,8 @@
/** /**
* Smarty strip_tags modifier plugin * Smarty strip_tags modifier plugin
* Type: modifier<br> * Type: modifier
* Name: strip_tags<br> * Name: strip_tags
* Purpose: strip html tags from text * Purpose: strip html tags from text
* *
* @link http://www.smarty.net/docs/en/language.modifier.strip.tags.tpl strip_tags (Smarty online manual) * @link http://www.smarty.net/docs/en/language.modifier.strip.tags.tpl strip_tags (Smarty online manual)

View File

@@ -8,8 +8,8 @@
/** /**
* Smarty to_charset modifier plugin * Smarty to_charset modifier plugin
* Type: modifier<br> * Type: modifier
* Name: to_charset<br> * Name: to_charset
* Purpose: convert character encoding from internal encoding to $charset * Purpose: convert character encoding from internal encoding to $charset
* *
* @author Rodney Rehm * @author Rodney Rehm

View File

@@ -8,8 +8,8 @@
/** /**
* Smarty unescape modifier plugin * Smarty unescape modifier plugin
* Type: modifier<br> * Type: modifier
* Name: unescape<br> * Name: unescape
* Purpose: unescape html entities * Purpose: unescape html entities
* *
* @author Rodney Rehm * @author Rodney Rehm

View File

@@ -8,8 +8,8 @@
/** /**
* Smarty upper modifier plugin * Smarty upper modifier plugin
* Type: modifier<br> * Type: modifier
* Name: lower<br> * Name: lower
* Purpose: convert string to uppercase * Purpose: convert string to uppercase
* *
* @link http://smarty.php.net/manual/en/language.modifier.upper.php lower (Smarty online manual) * @link http://smarty.php.net/manual/en/language.modifier.upper.php lower (Smarty online manual)

View File

@@ -7,8 +7,8 @@
*/ */
/** /**
* Smarty wordwrap modifier plugin * Smarty wordwrap modifier plugin
* Type: modifier<br> * Type: modifier
* Name: wordwrap<br> * Name: wordwrap
* Purpose: wrap a string of text at a given length * Purpose: wrap a string of text at a given length
* *
* @link http://smarty.php.net/manual/en/language.modifier.wordwrap.php wordwrap (Smarty online manual) * @link http://smarty.php.net/manual/en/language.modifier.wordwrap.php wordwrap (Smarty online manual)

View File

@@ -8,7 +8,7 @@
/** /**
* escape_special_chars common function * escape_special_chars common function
* Function: smarty_function_escape_special_chars<br> * Function: smarty_function_escape_special_chars
* Purpose: used by other smarty functions to escape * Purpose: used by other smarty functions to escape
* special chars except for already escaped ones * special chars except for already escaped ones
* *

View File

@@ -7,7 +7,7 @@
*/ */
/** /**
* Function: smarty_make_timestamp<br> * Function: smarty_make_timestamp
* Purpose: used by other smarty functions to make a timestamp from a string. * Purpose: used by other smarty functions to make a timestamp from a string.
* *
* @author Monte Ohrt <monte at ohrt dot com> * @author Monte Ohrt <monte at ohrt dot com>