english/components/com_banners/helpers/banner.php
/**
	 * Checks if a URL is a Flash file
	 *
	 * @param string
	 * @return URL
	 */
Checks if a URL is a Flash file
@param string
@return URL
Checks if a URL is a Flash file @param string @return URL
public static function isFlash($url)
	{
		$result = preg_match('#\.swf$#i', $url);
		return $result;
	}
public static function isFlash ( $ url ) { $ result = preg_match ( '#\.swf$#i' , $ url ) ; return $ result ; }
Checks if a URL is a Flash file
 @param string
 @return URL
Checks if a URL is a Flash file @param string @return URL