]> gitweb.fluxo.info Git - semanticscuttle.git/commitdiff
docblock for isValidUrl method
authorChristian Weiske <cweiske@cweiske.de>
Tue, 3 May 2011 07:19:08 +0000 (09:19 +0200)
committerChristian Weiske <cweiske@cweiske.de>
Tue, 3 May 2011 07:19:08 +0000 (09:19 +0200)
src/SemanticScuttle/Model/Bookmark.php

index 2cbe38dbcf3fc1fbfed0260f7242344f489c8670..8bda0b3050c6afc0d673459419d9958beb2e76df 100644 (file)
  */
 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);