function PoDatabaseWriter::setReport

Set the report array of write operations.

Parameters

array $report: Associative array with result information.

1 call to PoDatabaseWriter::setReport()
PoDatabaseWriter::__construct in drupal/core/modules/locale/lib/Drupal/locale/PoDatabaseWriter.php
Constructor, initialize reporting array.

File

drupal/core/modules/locale/lib/Drupal/locale/PoDatabaseWriter.php, line 99
Definition of Drupal\locale\PoDatabaseWriter.

Class

PoDatabaseWriter
Gettext PO writer working with the locale module database.

Namespace

Drupal\locale

Code

function setReport($report = array()) {
  $report += array(
    'additions' => 0,
    'updates' => 0,
    'deletes' => 0,
    'skips' => 0,
    'strings' => array(),
  );
  $this->_report = $report;
}