You are here

public function UltimateCronLogEntry::getData in Ultimate Cron 7.2

Get current log entry data as an associative array.

Return value

array Log entry data.

1 call to UltimateCronLogEntry::getData()
UltimateCronCacheLogEntry::save in plugins/ultimate_cron/logger/cache.class.php
Save log entry.

File

./ultimate_cron.plugin.inc, line 1414
Plugin framework for Ultimate Cron.

Class

UltimateCronLogEntry
Abstract class for Ultimate Cron log entries.

Code

public function getData() {
  $result = array();
  foreach ($this->log_entry_fields as $field) {
    $result[$field] = $this->{$field};
  }
  return $result;
}