Source for file banner.php
Documentation is available at banner.php
* @subpackage com_banners
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
* @subpackage com_banners
* Checks if a URL is an image
public static function isImage($url)
$result =
preg_match('#\.(?:bmp|gif|jpe?g|png)$#i', $url);
* Checks if a URL is a Flash file
public static function isFlash($url)
Documentation generated on Tue, 19 Nov 2013 14:54:18 +0100 by phpDocumentor 1.4.3