| 1 | package Rose::HTML::Link; | ||
| 2 | |||
| 3 | 2 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | |||
| 5 | 2 | ▶ | use base 'Rose::HTML::Object'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | |||
| 7 | 2 | our $VERSION = '0.606'; | |
| 8 | |||
| 9 | 2 | __PACKAGE__->add_valid_html_attrs | |
| 10 | ( | ||
| 11 | 'charset', # %Charset; #IMPLIED -- char encoding of linked resource | ||
| 12 | 'href', # %URI; #IMPLIED -- URI for linked resource | ||
| 13 | 'hreflang', # %LanguageCode; #IMPLIED -- language code | ||
| 14 | 'type', # %ContentType; #IMPLIED -- advisory content type | ||
| 15 | 'rel', # %LinkTypes; #IMPLIED -- forward link types | ||
| 16 | 'rev', # %LinkTypes; #IMPLIED -- reverse link types | ||
| 17 | 'media', # %MediaDesc; #IMPLIED -- for rendering on these media | ||
| 18 | ); | ||
| 19 | |||
| 20 | 2 | ▶ | sub rel { shift->html_attr('rel', @_) } |
|
Subroutine
rel: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 21 | 2 | ▶ | sub href { shift->html_attr('href', @_) } |
|
Subroutine
href: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 22 | |||
| 23 | 0 | ▶ | sub element { 'link' } |
|
Subroutine
element: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 24 | 1 | ▶ | sub html_element { 'link' } |
|
Subroutine
html_element: called CC=1 SCAR=0.0
Pod
documented
| |||
| 25 | 1 | ▶ | sub xhtml_element { 'link' } |
|
Subroutine
xhtml_element: called CC=1 SCAR=0.0
Pod
documented
| |||
| 26 | |||
| 27 | 2 | ▶ | sub is_self_closing { 1 } |
|
Subroutine
is_self_closing: called CC=1 SCAR=0.0
Pod
documented
| |||
| 28 | |||
| 29 | 2 | 1; | |
| 30 | |||
| 31 | __END__ | ||