summaryrefslogtreecommitdiffstats
path: root/user_guide_src/source/helpers
diff options
context:
space:
mode:
Diffstat (limited to 'user_guide_src/source/helpers')
-rw-r--r--user_guide_src/source/helpers/html_helper.rst76
1 files changed, 41 insertions, 35 deletions
diff --git a/user_guide_src/source/helpers/html_helper.rst b/user_guide_src/source/helpers/html_helper.rst
index 3324da8c0..ff387be10 100644
--- a/user_guide_src/source/helpers/html_helper.rst
+++ b/user_guide_src/source/helpers/html_helper.rst
@@ -25,23 +25,6 @@ Available Functions
The following functions are available:
-.. function:: br([$count = 1])
-
- :param int $count: Number of times to repeat the tag
- :returns: HTML line break tag
- :rtype: string
-
- Generates line break tags (<br />) based on the number you submit.
- Example::
-
- echo br(3);
-
- The above would produce:
-
- .. code-block:: html
-
- <br /><br /><br />
-
.. function:: heading([$data = ''[, $h = '1'[, $attributes = '']]])
:param string $data: Content
@@ -151,23 +134,6 @@ The following functions are available:
echo link_tag($link);
// <link href="http://site.com/css/printer.css" rel="stylesheet" type="text/css" media="print" />
-.. function:: nbs([$num = 1])
-
- :param int $num: Number of space entities to produce
- :returns: A sequence of non-breaking space HTML entities
- :rtype: string
-
- Generates non-breaking spaces (&nbsp;) based on the number you submit.
- Example::
-
- echo nbs(3);
-
- The above would produce:
-
- .. code-block:: html
-
- &nbsp;&nbsp;&nbsp;
-
.. function:: ul($list[, $attributes = ''])
@@ -395,4 +361,44 @@ The following functions are available:
XHTML+MathML+SVG (SVG host) xhtml-math-svg-sh <!DOCTYPE svg:svg PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0 plus SVG 1.1//EN" "http://www.w3.org/2002/04/xhtml-math-svg/xhtml-math-svg.dtd">
XHTML+RDFa 1.0 xhtml-rdfa-1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd">
XHTML+RDFa 1.1 xhtml-rdfa-2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.1//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd">
- =============================== =================== ================================================================================================================================================== \ No newline at end of file
+ =============================== =================== ==================================================================================================================================================
+
+.. function:: br([$count = 1])
+
+ :param int $count: Number of times to repeat the tag
+ :returns: HTML line break tag
+ :rtype: string
+
+ Generates line break tags (<br />) based on the number you submit.
+ Example::
+
+ echo br(3);
+
+ The above would produce:
+
+ .. code-block:: html
+
+ <br /><br /><br />
+
+ .. note:: This function is DEPRECATED. Use the native ``str_repeat()``
+ in combination with ``<br />`` instead.
+
+.. function:: nbs([$num = 1])
+
+ :param int $num: Number of space entities to produce
+ :returns: A sequence of non-breaking space HTML entities
+ :rtype: string
+
+ Generates non-breaking spaces (&nbsp;) based on the number you submit.
+ Example::
+
+ echo nbs(3);
+
+ The above would produce:
+
+ .. code-block:: html
+
+ &nbsp;&nbsp;&nbsp;
+
+ .. note:: This function is DEPRECATED. Use the native ``str_repeat()``
+ in combination with ``&nbsp;`` instead. \ No newline at end of file