lithium\g11n\catalog\adapter\Memory::read()
Overrides
lithium\g11n\catalog\Adapter::read()
Reads data.
Parameters
-
string
$category
A category.
-
string
$locale
A locale identifier.
-
string
$scope
The scope for the current operation.
Returns
arraySource
public function read($category, $locale, $scope) {
$scope = $scope ?: 'default';
if (isset($this->_data[$scope][$category][$locale])) {
return $this->_data[$scope][$category][$locale];
}
}