public static html_attr ( array $attrs, integer $quote_flag = ENT_COMPAT, string $encoding = 'UTF-8', boolean $decode = true, boolean $double_encode = true ) : string | ||
$attrs | array | An associative array of parameters |
$quote_flag | integer | Sets what quotes and doublequotes are escaped |
$encoding | string | The encoding of the passed string |
$decode | boolean | Whether or not to unescape any html entities first |
$double_encode | boolean | Whether or not to double escape any html entities |
return | string | The parameters turned into a string of tag attributes |