widgets\ActiveField hint()

hint() public method

Renders the hint tag.

public $this hint ( $content, $options = [] )
$content string|boolean

The hint content. If null, the hint will be generated via yii\base\Model::getAttributeHint(). If false, the generated field will not contain the hint part. Note that this will NOT be encoded.

$options array

The tag options in terms of name-value pairs. These will be rendered as the attributes of the hint tag. The values will be HTML-encoded using yii\helpers\Html::encode().

The following options are specially handled:

return $this

The field object itself.

doc_Yii
2016-10-30 17:17:52
Comments
Leave a Comment

Please login to continue.