You are here

public function StringBase::__construct in Localization update 7.2

Constructs a new locale string object.

Parameters

object|array $values: Object or array with initial values.

1 call to StringBase::__construct()
TranslationString::__construct in includes/locale/TranslationString.php
Overrides StringBase::__construct().
1 method overrides StringBase::__construct()
TranslationString::__construct in includes/locale/TranslationString.php
Overrides StringBase::__construct().

File

includes/locale/StringBase.php, line 85
Definition of StringBase.

Class

StringBase
Defines the locale string base class.

Code

public function __construct($values = array()) {
  $this
    ->setValues((array) $values);
}