function LinkCheckerLinkExtractionTest::getLinkCheckerLink in Link checker 6.2
Same name and namespace in other branches
- 7 linkchecker.test \LinkCheckerLinkExtractionTest::getLinkCheckerLink()
Get linkchecker link by url.
Parameters
string $url: URL of the link to find.
Return value
object Link object.
1 call to LinkCheckerLinkExtractionTest::getLinkCheckerLink()
File
- tests/
linkchecker_extract_links.test, line 365 - Test file for Link checker module.
Class
- LinkCheckerLinkExtractionTest
- @file Test file for Link checker module.
Code
function getLinkCheckerLink($url) {
return db_fetch_object(db_query("SELECT * FROM {linkchecker_links} WHERE urlhash = '%s'", md5($url)));
}