public function load()
{
$property = $this->getProperty();
$value = @unserialize($this->getValue());
$originalUrl = !empty($value[0]) ? $value[0] : '';
$tinyUrl = !empty($value[1]) ? $value[1] : '';
$textstring = new Element\Url($this->getName());
$textstring->setAttribute('class', 'form-control');
$textstring->setAttribute('id', $this->getName());
$textstring->setLabel($property->getName());
$textstring->setValue($originalUrl);
$textstring->setAttribute('required', $property->isRequired());
$data = array($textstring);
if (!empty($tinyUrl)) {
$html = '<div class="col-lg-2"> </div><div class="col-lg-10 bg-warning">';
$html .= sprintf('<a href="%s" target="_blank" class="btn btn-link">', $tinyUrl);
$html .= $tinyUrl;
$html .= '</a></div>';
$data[] = $html;
}
return $data;
}