File
extends HttpResponse
Table of Contents
Methods
-
__construct()
: mixed
-
getCacheTime()
: int
-
getContentType()
: string
-
getName()
: null
-
getPath()
: mixed
-
isShowInline()
: bool
-
send()
: mixed
-
setCacheTime()
: File
-
setContentType()
: File
-
setName()
: File
-
setPath()
: File
-
showInline()
: File
__construct()
public
__construct(mixed $path[, mixed $name = null ][, mixed $contentType = 'application/octet-stream' ]) : mixed
Parameters
-
$path
: mixed
-
-
$name
: mixed
= null
-
-
$contentType
: mixed
= 'application/octet-stream'
-
getCacheTime()
public
getCacheTime() : int
getContentType()
public
getContentType() : string
getName()
public
getName() : null
getPath()
public
getPath() : mixed
isShowInline()
public
isShowInline() : bool
send()
public
send() : mixed
setCacheTime()
public
setCacheTime(int $cacheTime) : File
Parameters
-
$cacheTime
: int
-
setContentType()
public
setContentType(string $contentType) : File
Parameters
-
$contentType
: string
-
setName()
public
setName(null $name) : File
Parameters
-
$name
: null
-
setPath()
public
setPath(mixed $path) : File
Parameters
-
$path
: mixed
-
showInline()
public
showInline(bool $enabled) : File
Parameters
-
$enabled
: bool
-