summaryrefslogtreecommitdiff
path: root/src/SemanticScuttle/Model
diff options
context:
space:
mode:
authorChristian Weiske <cweiske@cweiske.de>2011-05-03 09:19:08 +0200
committerChristian Weiske <cweiske@cweiske.de>2011-05-03 09:19:08 +0200
commit218ac05e712a85572afd0ed76ff969bcbe6c4b09 (patch)
tree96b544b98588531fd2e2ea7aa31f43bbe1eb9f05 /src/SemanticScuttle/Model
parent2077464d464e485a978166604faf158b654fb0cb (diff)
downloadsemanticscuttle-218ac05e712a85572afd0ed76ff969bcbe6c4b09.tar.gz
semanticscuttle-218ac05e712a85572afd0ed76ff969bcbe6c4b09.tar.bz2
docblock for isValidUrl method
Diffstat (limited to 'src/SemanticScuttle/Model')
-rw-r--r--src/SemanticScuttle/Model/Bookmark.php8
1 files changed, 8 insertions, 0 deletions
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);