public function UltimateCronLogEntry::setData in Ultimate Cron 7.2
Set current log entry data from an associative array.
Parameters
array $data: Log entry data.
File
- ./
ultimate_cron.plugin.inc, line 1428 - Plugin framework for Ultimate Cron.
Class
- UltimateCronLogEntry
- Abstract class for Ultimate Cron log entries.
Code
public function setData($data) {
foreach ($this->log_entry_fields as $field) {
if (array_key_exists($field, $data)) {
$this->{$field} = $data[$field];
}
}
}