lithium\g11n\catalog\adapter\Memory::read()
Overrides
lithium\g11n\catalog\Adapter::read()
Reads data.
Parameters
-
string
$categoryA category.
-
string
$localeA locale identifier.
-
string
$scopeThe 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];
}
}