FireGento_MageMonitoring_Model_WatchDog::watch
Method that executes if getSchedule() says it's time.
Returns false if there is nothing to report or array with results. Extending from FireGento_MageMonitoring_Model_Widget_Abstract provides addReportRow() for convenience. Return format of array: array(array('css_id' => 'info|success|warning|error', 'label' => 'My Check', 'value' => 'my report msg', // any html 'attachments => array(array('filename' => $name, 'content' => $content), ...), ... ))
Signature
public function watch()
Returns
- false|array