26 parent::initializeAttributes();
28 $this->attributes[
'subtype'] =
'temp_file';
74 public function save() : bool {
75 throw new IOException(
"Temp files can't be saved to the database");
initializeAttributes()
Set subtype to 'temp_file'.
This class represents a physical file (by default in the system temp directory).
An IO Exception, throw when an IO Exception occurs.
getInlineURL($use_cookie=false, $expires= '')
{}
transfer($owner_guid, $filename=null)
{}
setFilename($filename)
Set the filename of this file.
canDownload($user_guid=0, $default=false)
{}
getFilestore()
Return the system temp filestore based on the system temp directory.
_elgg_services()
Get the global service provider.
getDownloadURL($use_cookie=true, $expires= '+2 hours')
{}