function PoDatabaseReader::setOptions

Set the options for the current reader.

1 call to PoDatabaseReader::setOptions()
PoDatabaseReader::__construct in drupal/core/modules/locale/lib/Drupal/locale/PoDatabaseReader.php
Constructor, initializes with default options.

File

drupal/core/modules/locale/lib/Drupal/locale/PoDatabaseReader.php, line 82
Definition of Drupal\locale\PoDatabaseReader.

Class

PoDatabaseReader
Gettext PO reader working with the locale module database.

Namespace

Drupal\locale

Code

function setOptions(array $options) {
  $options += array(
    'customized' => FALSE,
    'not_customized' => FALSE,
    'not_translated' => FALSE,
  );
  $this->_options = $options;
}