You are here

public function PoDatabaseReader::setOptions in Localization update 7.2

Set the options for the current reader.

1 call to PoDatabaseReader::setOptions()
PoDatabaseReader::__construct in includes/locale/PoDatabaseReader.php
Constructor, initializes with default options.

File

includes/locale/PoDatabaseReader.php, line 89
Definition of PoDatabaseReader.

Class

PoDatabaseReader
Gettext PO reader working with the locale module database.

Code

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