Exemplo n.º 1
0
 public function fetch_headline_value($value, $document_id)
 {
     if (empty($value)) {
         return parent::fetch_headline_value($value, $document_id);
     }
     $header = DataSource_Hybrid_Field_Utils::get_document_header($this->from_ds, $value);
     if (!empty($header)) {
         return HTML::anchor(Route::get('datasources')->uri(array('directory' => 'hybrid', 'controller' => 'document', 'action' => 'view')) . URL::query(array('ds_id' => $this->from_ds, 'id' => $value), FALSE), $header, array('class' => ' popup fancybox.iframe'));
     }
     return parent::fetch_headline_value($value, $document_id);
 }