From e255e77748ca27a11ae4f143ba97d978cb4d99e5 Mon Sep 17 00:00:00 2001 From: etrianag <57193408+etrianag@users.noreply.github.com> Date: Mon, 13 Jan 2020 11:45:08 +0000 Subject: Update documentation for method parse_string Fix description of parameter $template in method parse_string. --- user_guide_src/source/libraries/parser.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/user_guide_src/source/libraries/parser.rst b/user_guide_src/source/libraries/parser.rst index 6c9d28959..923446dd4 100644 --- a/user_guide_src/source/libraries/parser.rst +++ b/user_guide_src/source/libraries/parser.rst @@ -290,7 +290,7 @@ Class Reference .. php:method:: parse_string($template, $data[, $return = FALSE]) - :param string $template: Path to view file + :param string $template: String content to parse :param array $data: Variable data :param bool $return: Whether to only return the parsed template :returns: Parsed template string @@ -306,4 +306,4 @@ Class Reference :rtype: void Sets the delimiters (opening and closing) for a - pseudo-variable "tag" in a template. \ No newline at end of file + pseudo-variable "tag" in a template. -- cgit v1.2.3-24-g4f1b From 0c1f8474e15c8f22f9fef424799ed8cabf2c0f6b Mon Sep 17 00:00:00 2001 From: etrianag <57193408+etrianag@users.noreply.github.com> Date: Mon, 27 Jan 2020 17:24:09 +0000 Subject: Remove parameter type from Description. --- user_guide_src/source/libraries/parser.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/user_guide_src/source/libraries/parser.rst b/user_guide_src/source/libraries/parser.rst index 923446dd4..0b0d41740 100644 --- a/user_guide_src/source/libraries/parser.rst +++ b/user_guide_src/source/libraries/parser.rst @@ -290,7 +290,7 @@ Class Reference .. php:method:: parse_string($template, $data[, $return = FALSE]) - :param string $template: String content to parse + :param string $template: Content to parse :param array $data: Variable data :param bool $return: Whether to only return the parsed template :returns: Parsed template string -- cgit v1.2.3-24-g4f1b