2
// $Id: views_handler_argument_file_fid.inc,v 1.1 2008/09/03 19:21:30 merlinofchaos Exp $
4
* Argument handler to accept a file id.
6
class views_handler_argument_file_fid extends views_handler_argument {
8
* Override the behavior of title(). Get the title of the file.
11
$title = db_result(db_query(db_rewrite_sql("SELECT f.filename FROM {files} f WHERE f.fid = %d", $this->argument)));
16
return check_plain($title);