Html
class Html
HTML Helper Functions
Methods
string
close_tag(string $tag_name)
Returns the specified closing tag
string
content_tag(string $tag_name, string $content = "", array $tag_attributes = [], array $options = [])
Helper function to create HTML tags with content (e.g. CONTENT)
string
string
tag(string $tag_name, array $tag_attributes = [])
Helper function to create HTML tags without content (e.g. <input ... />)
string
webComponentTag(string $tag_name, array $tag_attributes = [])
Creates a WebComponent Tag and casts all properties as required
Details
at line 130
string
close_tag(string $tag_name)
Returns the specified closing tag
at line 81
string
content_tag(string $tag_name, string $content = "", array $tag_attributes = [], array $options = [])
Helper function to create HTML tags with content (e.g. CONTENT)
at line 67
string
open_tag(string $tag_name, array $tag_attributes = [])
Helper function to open a HTML tag (e.g.
)
at line 21
string
tag(string $tag_name, array $tag_attributes = [])
Helper function to create HTML tags without content (e.g. <input ... />)
at line 32
string
webComponentTag(string $tag_name, array $tag_attributes = [])
Creates a WebComponent Tag and casts all properties as required