uri = $uri; return $this; } public function getURI() { return $this->uri; } public function setText($text) { $this->text = $text; return $this; } /** * @param bool $workflow * @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; } }