helpers\BaseHtml beginTag()

beginTag() public static method

Generates a start tag.

See also:

public static string beginTag ( $name, $options = [] )
$name string|boolean|null

The tag name. If $name is null or false, the corresponding content will be rendered without any tag.

$options array

The tag options in terms of name-value pairs. These will be rendered as the attributes of the resulting tag. The values will be HTML-encoded using encode(). If a value is null, the corresponding attribute will not be rendered. See renderTagAttributes() for details on how attributes are being rendered.

return string

The generated start tag

doc_Yii
2016-10-30 17:04:59
Comments
Leave a Comment

Please login to continue.