$val) { if ($val->name == $options[1]) { $pos = $key; break; } } if (isset($pos)) { $cn = $row[$pos]; } } if (empty($cn)) { $cn = 'binary_file.dat'; } } $link = '' . htmlspecialchars($cn); $link .= ''; return $link; } /* ~~~~~~~~~~~~~~~~~~~~ Getters and Setters ~~~~~~~~~~~~~~~~~~~~ */ /** * Gets the transformation name of the specific plugin * * @return string */ public static function getName() { return 'Download'; } }