You are here

public function StringInterface::setValues in Localization update 7.2

Sets an array of values as object properties.

Parameters

array $values: Array with values indexed by property name.

bool $override: (optional) Whether to override already set fields, defaults to TRUE.

Return value

StringInterface The called object.

1 method overrides StringInterface::setValues()
StringBase::setValues in includes/locale/StringBase.php
Implements StringInterface::setValues().

File

includes/locale/StringInterface.php, line 143
Definition of StringInterface.

Class

StringInterface
Defines the locale string interface.

Code

public function setValues(array $values, $override = TRUE);