Page MenuHomePhorge

PHUILinkView.php
No OneTemporary

Size
776 B
Referenced Files
None
Subscribers
None

PHUILinkView.php

<?php
final class PHUILinkView
extends AphrontTagView {
private $uri;
private $text;
private $workflow;
public function setURI($uri) {
$this->uri = $uri;
return $this;
}
public function getURI() {
return $this->uri;
}
public function setText($text) {
$this->text = $text;
return $this;
}
public function setWorkflow($workflow) {
$this->workflow = $workflow;
return $this;
}
protected function getTagName() {
return 'a';
}
protected function getTagAttributes() {
$sigil = array();
if ($this->workflow) {
$sigil[] = 'workflow';
}
return array(
'href' => $this->getURI(),
'sigil' => $sigil,
);
}
protected function getTagContent() {
return $this->text;
}
}

File Metadata

Mime Type
text/x-php
Expires
Tue, Jun 17, 10:33 PM (1 d, 14 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
224476
Default Alt Text
PHUILinkView.php (776 B)

Event Timeline