Method Parser.HTML()->tag_args()
- Method
tag_args
mapping
(string
:mixed
) tag_args(void
|mixed
default_value
)- Description
Gives the arguments of the current tag, parsed to a convenient mapping consisting of key:value pairs. If the current thing isn't a tag, it gives zero.
default_value
is used for arguments which have no value in the tag. Ifdefault_value
isn't given, the value is set to the same string as the key.