public function PoDatabaseWriter::setOptions in Localization update 7.2
Set the options for the current writer.
File
- includes/
locale/ PoDatabaseWriter.php, line 119 - Definition of PoDatabaseWriter.
Class
- PoDatabaseWriter
- Gettext PO writer working with the locale module database.
Code
public function setOptions(array $options) {
if (!isset($options['overwrite_options'])) {
$options['overwrite_options'] = array();
}
$options['overwrite_options'] += array(
'not_customized' => FALSE,
'customized' => FALSE,
);
$options += array(
'customized' => L10N_UPDATE_NOT_CUSTOMIZED,
);
$this->_options = $options;
}