51 $this->
registerTagAttribute(
'rel',
'string',
'Specifies the relationship between the current document and the linked document');
52 $this->
registerTagAttribute(
'rev',
'string',
'Specifies the relationship between the linked document and the current document');
62 public function render($uri, $defaultScheme =
'http') {
63 $scheme = parse_url($uri, PHP_URL_SCHEME);
64 if ($scheme === NULL && $defaultScheme !==
'') {
65 $uri = $defaultScheme .
'://' . $uri;
67 $this->tag->addAttribute(
'href', $uri);
69 $this->tag->forceClosingTag(TRUE);
71 return $this->tag->render();
registerTagAttribute($name, $type, $description, $required=FALSE, $default=NULL)
registerUniversalTagAttributes()
render($uri, $defaultScheme='http')