models/ExcelImportForm.php
public function getToolTipTemplate($field)
	{
		if (array_key_exists($field, $this->toolTips())) {
			$toolTip = Html::tag('span', "{label}", [
				'data-content'=> $this->toolTips()[$field],
				'data-toggle'=>'popover',
				'data-trigger'=>'hover',
				'style'=>'cursor:help; border-bottom: 1px dashed #888'
			]);

			return "$toolTip \n{input}\n{hint}\n{error}";
		}

		return "{label}\n{input}\n{hint}\n{error}";
	}
public function getToolTipTemplate($field)
	{
		if (array_key_exists($field, $this->toolTips())) {
			$toolTip = Html::tag('span', "{label}", [
				'data-content'=> $this->toolTips()[$field],
				'data-toggle'=>'popover',
				'data-trigger'=>'hover',
				'style'=>'cursor:help; border-bottom: 1px dashed #888'
			]);

			return "$toolTip \n{input}\n{hint}\n{error}";
		}

		return "{label}\n{input}\n{hint}\n{error}";
	}
public function getToolTipTemplate ( $ field ) { if ( array_key_exists ( $ field , $ this -> toolTips ( ) ) ) { $ toolTip = Html :: tag ( 'span' , "{label}" , [ 'data-content' => $ this -> toolTips ( ) [ $ field ] , 'data-toggle' => 'popover' , 'data-trigger' => 'hover' , 'style' => 'cursor:help; border-bottom: 1px dashed #888' ] ) ; return "$toolTip \n{input}\n{hint}\n{error}" ; } return "{label}\n{input}\n{hint}\n{error}" ; }
Generate the tool tip template to use in form.

@param string $field The table field name.
@return string Return the tool tip template.
Generate the tool tip template to use in form .