lithium\template\view\Renderer::strings()

public method

Manages template strings.

Parameters

  • mixed $strings

Returns

mixed

Source

	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;
	}