docblock for isValidUrl method

This commit is contained in:
Christian Weiske 2011-05-03 09:19:08 +02:00
parent 2077464d46
commit 218ac05e71

View file

@ -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);