original_string: protected function getLinkCssHref(array $tag_frag, $test_for_css = true)
      {
          if ($test_for_css && !$this->isLinkTagFragCss($tag_frag)) {
              return ''; // This tag does not contain CSS.
          }
          if (preg_match('/\shref\s*\=\s*(["\'])(?P<value>.+?)\\1/ui', $tag_frag['link_self_closing_tag'], $_m)) {
              return trim($this->nUrlAmps($_m['value']));
          } // unset($_m); // Just a little housekeeping.
  
          return ''; // Unable to find an `href` attribute value.
      }
code: protected function getLinkCssHref(array $tag_frag, $test_for_css = true)
      {
          if ($test_for_css && !$this->isLinkTagFragCss($tag_frag)) {
              return ''; // This tag does not contain CSS.
          }
          if (preg_match('/\shref\s*\=\s*(["\'])(?P<value>.+?)\\1/ui', $tag_frag['link_self_closing_tag'], $_m)) {
              return trim($this->nUrlAmps($_m['value']));
          } // unset($_m); // Just a little housekeeping.
  
          return ''; // Unable to find an `href` attribute value.
      }
code_tokens: protected function getLinkCssHref ( array $ tag_frag , $ test_for_css = true ) { if ( $ test_for_css && ! $ this -> isLinkTagFragCss ( $ tag_frag ) ) { return '' ; // This tag does not contain CSS. } if ( preg_match ( '/\shref\s*\=\s*(["\'])(?P<value>.+?)\\1/ui' , $ tag_frag [ 'link_self_closing_tag' ] , $ _m ) ) { return trim ( $ this -> nUrlAmps ( $ _m [ 'value' ] ) ) ; } // unset($_m); // Just a little housekeeping. return '' ; // Unable to find an `href` attribute value. }
docstring: Get a CSS link href value from a tag fragment.
  
  @since 140417 Initial release.
  
  @param array $tag_frag     A CSS tag fragment.
  @param bool  $test_for_css Defaults to a TRUE value.
  If TRUE, we will test tag fragment to make sure it's CSS.
  
  @return string The link href value if possible; else an empty string.
docstring_tokens: Get a CSS link href value from a tag fragment .