wordpress/wp-content/plugins/sqlite-integration/functions.php
/**
	 * Method to emulate MySQL CONCAT() function.
	 *
	 * SQLite does have CONCAT() function, but it has a different syntax from MySQL.
	 * So this function must be manipulated here.
	 *
	 * @param string
	 * @return NULL if the argument is null | string conatenated if the argument is given.
	 */
Method to emulate MySQL CONCAT() function.
SQLite does have CONCAT() function, but it has a different syntax from MySQL.
So this function must be manipulated here.

@param string
@return NULL if the argument is null | string conatenated if the argument is given.
Method to emulate MySQL CONCAT () function . SQLite does have CONCAT () function but it has a different syntax from MySQL . So this function must be manipulated here . @param string @return NULL if the argument is null | string conatenated if the argument is given .
public function concat() {
		$returnValue = "";
		$argsNum  = func_num_args();
		$argsList = func_get_args();
		for ($i = 0; $i < $argsNum; $i++) {
			if (is_null($argsList[$i])) {
				return null;
			}
			$returnValue .= $argsList[$i];
		}
		return $returnValue;
	}
public function concat ( ) { $ returnValue = " " ; $ argsNum = func_num_args ( ) ; $ argsList = func_get_args ( ) ; for ( $ i = 0 ; $ i < $ argsNum ; $ i ++ ) { if ( is_null ( $ argsList [ $ i ] ) ) { return null ; } $ returnValue .= $ argsList [ $ i ] ; } return $ returnValue ; }
Method to emulate MySQL CONCAT() function.
Method to emulate MySQL CONCAT () function .