1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-02 20:57:26 +02:00
add returned type
This commit is contained in:
marj
2009-10-30 20:05:17 +00:00
parent c597b7d1bb
commit 68d962a5cc

View File

@@ -9,8 +9,8 @@
* Text processing and parsing functions * Text processing and parsing functions
* *
* $Source: /cvs_backup/e107_0.8/e107_handlers/e_parse_class.php,v $ * $Source: /cvs_backup/e107_0.8/e107_handlers/e_parse_class.php,v $
* $Revision: 1.70 $ * $Revision: 1.71 $
* $Date: 2009-10-30 19:57:28 $ * $Date: 2009-10-30 20:05:17 $
* $Author: marj_nl_fr $ * $Author: marj_nl_fr $
* *
*/ */
@@ -834,7 +834,7 @@ class e_parse
* @param string $modifiers [optional] TITLE|SUMMARY|DESCRIPTION|BODY|RAW|LINKTEXT etc. * @param string $modifiers [optional] TITLE|SUMMARY|DESCRIPTION|BODY|RAW|LINKTEXT etc.
* @param mixed $postID [optional] * @param mixed $postID [optional]
* @param boolean $wrap [optional] * @param boolean $wrap [optional]
* @return * @return string
*/ */
function toHTML($text, $parseBB = FALSE, $modifiers = "", $postID = "", $wrap = FALSE) function toHTML($text, $parseBB = FALSE, $modifiers = "", $postID = "", $wrap = FALSE)
{ {
@@ -1282,8 +1282,9 @@ class e_parse
/** /**
* Convert text blocks which are to be embedded within JS * Convert text blocks which are to be embedded within JS
*
* @param object $stringarray * @param object $stringarray
* @return * @return string
*/ */
function toJS($stringarray) function toJS($stringarray)
{ {
@@ -1301,9 +1302,10 @@ class e_parse
/** /**
* Convert Text for RSS/XML use. * Convert Text for RSS/XML use.
*
* @param object $text * @param object $text
* @param object $tags [optional] * @param object $tags [optional]
* @return * @return string
*/ */
function toRss($text, $tags = FALSE) function toRss($text, $tags = FALSE)
{ {
@@ -1339,6 +1341,7 @@ class e_parse
/** /**
* Replace e107 path constants * Replace e107 path constants
* Note: only an ADMIN user can convert {e_ADMIN} * Note: only an ADMIN user can convert {e_ADMIN}
*
* @param string $text * @param string $text
* @param string $mode [optional] abs|full "full" = produce absolute URL path, e.g. http://sitename.com/e107_plugins/etc * @param string $mode [optional] abs|full "full" = produce absolute URL path, e.g. http://sitename.com/e107_plugins/etc
* TRUE = produce truncated URL path, e.g. e107plugins/etc * TRUE = produce truncated URL path, e.g. e107plugins/etc
@@ -1460,7 +1463,7 @@ class e_parse
* *
* @param string $url * @param string $url
* @param string $mode 0-folders, 1-relative, 2-absolute, 3-full (with domain), 4-absolute & relative (combination of 1,2,3) * @param string $mode 0-folders, 1-relative, 2-absolute, 3-full (with domain), 4-absolute & relative (combination of 1,2,3)
* @return * @return string
*/ */
function createConstants($url, $mode = 0) function createConstants($url, $mode = 0)
{ {