class InputPath extends InputStream

A file given as a path to an actual file

Properties

private $handle from  InputStream
private $path
private $name
private $istemp

Methods

__construct(string $path, string $name, bool $istemp)

No description

GetHandle()

Returns the file's stream resource

string
GetData()

Returns the entire stream contents

string
GetPath()

Returns the path to the input file

string
GetName()

Returns the name of the file to be used

bool
isTemp()

Returns true if the file is a temp file that can be moved

int
GetSize()

Returns the size of the file to be used

Details

at line 32
__construct(string $path, string $name, bool $istemp)

No description

Parameters

string $path
string $name
bool $istemp

at line 47
GetHandle()

Returns the file's stream resource

in InputStream at line 15
string GetData()

Returns the entire stream contents

Return Value

string

at line 36
string GetPath()

Returns the path to the input file

Return Value

string

at line 39
string GetName()

Returns the name of the file to be used

Return Value

string

at line 42
bool isTemp()

Returns true if the file is a temp file that can be moved

Return Value

bool

at line 45
int GetSize()

Returns the size of the file to be used

Return Value

int