protected property

Maps method names to template string names, allowing the default template strings to be set permanently on a per-method basis.

For example, if all text input fields should be wrapped in <span /> tags, you can configure the template string mappings per the following:

$this->form->config(['templates' => [
	'text' => '<span><input type="text" name="{:name}"{:options} /></span>'

Alternatively, you can re-map one type as another. This is useful if, for example, you include your own helper with custom form template strings which do not match the default template string names.

// Renders all password fields as text fields
$this->form->config(['templates' => ['password' => 'text']]);


	protected $_templateMap = [
		'create' => 'form',
		'end' => 'form-end'