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 buildLinkPattern($caption) { $this->addLinkPropertie('href', $this->getAction()); return Html::getTag(static::$LINK_TAG, $this->getLinkProperties(), $caption); }