lithium\template\view\Renderer::strings PHP Method

strings() public method

Manages template strings.
public strings ( mixed $strings = null ) : mixed
$strings mixed
return mixed
    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;
    }