classe Temporary (Voir la source)

Méthodes

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

Détails

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

Temporary Constructor

Paramètres

string $lock_filename

Valeur de retour

void

bool isOpen()

Check if the streaming is open

Valeur de retour

bool

void open()

Open the streaming

Valeur de retour

void

void lockFile(string $lock_filename)

Set the Lock file name

Paramètres

string $lock_filename

Valeur de retour

void

void close()

Close the streaming

Valeur de retour

void

mixed write(string $content)

Write content

Paramètres

string $content

Valeur de retour

mixed

string read()

Read content of temp

Valeur de retour

string

__destruct()

Temporary destructor