You are here

function linkchecker_link_load in Link checker 7

Same name and namespace in other branches
  1. 5.2 linkchecker.module \linkchecker_link_load()
  2. 6.2 linkchecker.module \linkchecker_link_load()

Load link as object.

Parameters

int $lid: The link id.

Return value

object

File

./linkchecker.module, line 2575
This module periodically check links in given node types, blocks etc.

Code

function linkchecker_link_load($lid) {
  return db_query('SELECT * FROM {linkchecker_link} WHERE lid = :lid', array(
    ':lid' => $lid,
  ))
    ->fetchObject();
}