public function prepareURLForPersist($url)
    {
        if (substr($url, 0, 7 ) == "http://") return $url;

        if (substr($url, 0, 8 ) == "https://") return $url;

        $washedUrl  = "http://";
        $washedUrl .= $url;

        return $url;
    }
public function prepareURLForPersist($url)
    {
        if (substr($url, 0, 7 ) == "http://") return $url;

        if (substr($url, 0, 8 ) == "https://") return $url;

        $washedUrl  = "http://";
        $washedUrl .= $url;

        return $url;
    }
public function prepareURLForPersist ( $ url ) { if ( substr ( $ url , 0 , 7 ) == "http://" ) return $ url ; if ( substr ( $ url , 0 , 8 ) == "https://" ) return $ url ; $ washedUrl = "http://" ; $ washedUrl .= $ url ; return $ url ; }
Wash URL for persist.

Does *not* test for a .com or .ca or other TLD

@param  text  $url
@return text
Wash URL for persist .