From: Christian Weiske Date: Tue, 3 May 2011 07:19:08 +0000 (+0200) Subject: docblock for isValidUrl method X-Git-Tag: v0.98.0~73 X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=218ac05e712a85572afd0ed76ff969bcbe6c4b09;p=semanticscuttle.git docblock for isValidUrl method --- diff --git a/src/SemanticScuttle/Model/Bookmark.php b/src/SemanticScuttle/Model/Bookmark.php index 2cbe38d..8bda0b3 100644 --- a/src/SemanticScuttle/Model/Bookmark.php +++ b/src/SemanticScuttle/Model/Bookmark.php @@ -23,6 +23,14 @@ */ class SemanticScuttle_Model_Bookmark { + /** + * Checks if the given URL is valid and may be used with this + * SemanticScuttle installation. + * + * @param string $url URL to verify. + * + * @return boolean True if the URL is allowed, false if not + */ public static function isValidUrl($url) { $scheme = parse_url($url, PHP_URL_SCHEME);