public function buildBranch($content) { if ($this->getParentNode() != null) { return Html::getTag(static::$BRANCH_TAG, null, $content); } else { return Html::getTag(static::$BRANCH_TAG, $this->getProperties(), $content); } }
public function testClosedDivWithProperties() { $this->assertEquals('<div class="foo" />', Html::getClosedTag('div', 'class="foo"')); }
public function buildLinkPattern($caption) { $this->addLinkPropertie('href', $this->getAction()); return Html::getTag(static::$LINK_TAG, $this->getLinkProperties(), $caption); }