lithium\template\view\adapter\Simple::template()

public method

Returns a template string

Parameters

  • string $type
  • array $options

Returns

string

Source

	public function template($type, $options) {
		if (isset($options[$type])) {
			return $options[$type];
		}
		return isset($options['template']) ? $options['template'] : '';
	}