/** * @param DownloadDataColumn $column */ public function RenderDownloadDataColumn($column) { if ($column->GetData() == null) { $this->result = $this->GetNullValuePresentation($column); } else { if ($this->HtmlMarkupAvailable() && $this->HttpHandlersAvailable()) { $this->result = '<i class="pg-icon-download"></i> ' . '<a target="_blank" title="download" href="' . $column->GetDownloadLink() . '">' . $column->GetLinkInnerHtml() . '</a>'; } else { $this->result = $this->Captions()->GetMessageString('BinaryDataCanNotBeExportedToXls'); } } }