class Temporary (View source)

Methods

void
__construct(string $lock_filename = 'php://temp')

Temporary Constructor

bool
isOpen()

Check if the streaming is open

void
open()

Open the streaming

void
lockFile(string $lock_filename)

Set the Lock file name

void
close()

Close the streaming

mixed
write(string $content)

Write content

string
read()

Read content of temp

__destruct()

Temporary destructor

Details

void __construct(string $lock_filename = 'php://temp')

Temporary Constructor

Parameters

string $lock_filename

Return Value

void

bool isOpen()

Check if the streaming is open

Return Value

bool

void open()

Open the streaming

Return Value

void

void lockFile(string $lock_filename)

Set the Lock file name

Parameters

string $lock_filename

Return Value

void

void close()

Close the streaming

Return Value

void

mixed write(string $content)

Write content

Parameters

string $content

Return Value

mixed

string read()

Read content of temp

Return Value

string

__destruct()

Temporary destructor