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