activeLabel() public static method
Generates a label tag for the given model attribute. The label text is the label associated with the attribute, obtained via yii\base\Model::getAttributeLabel().
public static string activeLabel ( $model, $attribute, $options = [] )$model yii\base\Model
The model object $attribute string
The attribute name or expression. See getAttributeName() for the format about attribute expression. $options array
The tag options in terms of name-value pairs. The