protected function _createLink($type = null, $text = null, $attributeArray = [])
{
if (is_array($attributeArray)) {
$attributeArray = array_merge($this->_attributeArray['link'][$type], $attributeArray);
} else {
$attributeArray = $this->_attributeArray['link'][$type];
}
$linkElement = new Element();
$linkElement->init('a', $attributeArray)->text($text ? $text : $this->_language->get($this->_languageArray['link'][$type]));
$this->append($linkElement);
return $this;
}