src/Charcoal/Admin/AdminTemplate.php
public function recaptchaHtmlAttr()
    {
        $params = $this->recaptchaParameters();

        $attributes = [];
        foreach ($params as $key => $val) {
            if ($val !== null) {
                $attributes[] = sprintf('data-%s="%s"', $key, htmlspecialchars($val, ENT_QUOTES));
            }
        }

        return implode(' ', $attributes);
    }
public function recaptchaHtmlAttr()
    {
        $params = $this->recaptchaParameters();

        $attributes = [];
        foreach ($params as $key => $val) {
            if ($val !== null) {
                $attributes[] = sprintf('data-%s="%s"', $key, htmlspecialchars($val, ENT_QUOTES));
            }
        }

        return implode(' ', $attributes);
    }
public function recaptchaHtmlAttr ( ) { $ params = $ this -> recaptchaParameters ( ) ; $ attributes = [ ] ; foreach ( $ params as $ key => $ val ) { if ( $ val !== null ) { $ attributes [ ] = sprintf ( 'data-%s="%s"' , $ key , htmlspecialchars ( $ val , ENT_QUOTES ) ) ; } } return implode ( ' ' , $ attributes ) ; }
Generate a string representation of HTML attributes for the Google reCAPTCHA tag.

@return string
Generate a string representation of HTML attributes for the Google reCAPTCHA tag .