Public Member Functions

ilCronLinkCheck Class Reference

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 $ilLog.

        {
                global $ilLog,$ilDB;

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


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