ILIAS  Release_4_1_x_branch Revision 61804
 All Data Structures Namespaces Files Functions Variables Groups Pages
ilCronLinkCheck Class Reference
+ Collaboration diagram for ilCronLinkCheck:

Public Member Functions

 ilCronLinkCheck ()
 check ()

Detailed Description

Definition at line 34 of file class.ilCronLinkCheck.php.

Member Function Documentation

ilCronLinkCheck::check ( )

Definition at line 44 of file class.ilCronLinkCheck.php.

{
include_once'./classes/class.ilLinkChecker.php';
$link_checker =& new ilLinkChecker($this->db);
$link_checker->setMailStatus(true);
$invalid = $link_checker->checkLinks();
foreach($link_checker->getLogMessages() as $message)
{
$this->log->write($message);
}
return true;
}
ilCronLinkCheck::ilCronLinkCheck ( )

Definition at line 36 of file class.ilCronLinkCheck.php.

References $ilDB, and $ilLog.

{
global $ilLog,$ilDB;
$this->log =& $ilLog;
$this->db =& $ilDB;
}

The documentation for this class was generated from the following file: