file_load
- Versions
- 7
file_load($fid)
Load a file object from the database.
See also
@see file_load_multiple()
Parameters
$fid A file ID.
Return value
A file object.
Related topics
Code
includes/file.inc, line 460
<?php
function file_load($fid) {
$files = file_load_multiple(array($fid), array());
return reset($files);
}
?>Login or register to post comments 