lithium\template\view\Renderer::strings()
Manages template strings.
Parameters
-
mixed
$strings
Returns
mixedSource
public function strings($strings = null) {
if (is_array($strings)) {
return $this->_strings = $this->_strings + $strings;
}
if (is_string($strings)) {
return isset($this->_strings[$strings]) ? $this->_strings[$strings] : null;
}
return $this->_strings;
}