src/core/ToolBox.class.php
static public function create_list($string=NULL, $addThis=NULL, $delimiter=", ") {
		if(count(func_get_args()) > 3) {
			trigger_error(__METHOD__ .": argument 'useSqlQuotes' is deprecated and no longer utilized");
		}
		if(strlen($string)) {
			$retVal = $string . $delimiter . $addThis;
		}
		else {
			$retVal = $addThis;
		}
	
		return($retVal);
	}
static public function create_list($string=NULL, $addThis=NULL, $delimiter=", ") {
		if(count(func_get_args()) > 3) {
			trigger_error(__METHOD__ .": argument 'useSqlQuotes' is deprecated and no longer utilized");
		}
		if(strlen($string)) {
			$retVal = $string . $delimiter . $addThis;
		}
		else {
			$retVal = $addThis;
		}
	
		return($retVal);
	}
static public function create_list ( $ string = NULL , $ addThis = NULL , $ delimiter = ", " ) { if ( count ( func_get_args ( ) ) > 3 ) { trigger_error ( __METHOD__ . ": argument 'useSqlQuotes' is deprecated and no longer utilized" ) ; } if ( strlen ( $ string ) ) { $ retVal = $ string . $ delimiter . $ addThis ; } else { $ retVal = $ addThis ; } return ( $ retVal ) ; }
Returns a list delimited by the given delimiter.  Does the work of checking if the given variable has data
in it already, that needs to be added to, vs. setting the variable with the new content.
Returns a list delimited by the given delimiter . Does the work of checking if the given variable has data in it already that needs to be added to vs . setting the variable with the new content .