SplFileObject::valid
SplTempFileObject::__construct
Gestion des fichiers
PHP Manual

# La classe SplTempFileObject

## Introduction

La classe SplTempFileObject offre une interface orientée objet pour un fichier temporaire.

## Synopsis de la classe

SplTempFileObject
SplTempFileObject extends SplFileObject implements SeekableIterator , Iterator , Traversable , RecursiveIterator {
/* Méthodes */
__construct ([ integer `$max_memory` ] )
/* Méthodes héritées */
SplFileObject::__construct ( string `$filename` [, string `$open_mode` = "r" [, bool `$use_include_path` = false [, resource `$context` ]]] )
public string|array SplFileObject::current ( void )
public boolean SplFileObject::eof ( void )
public boolean SplFileObject::fflush ( void )
public string SplFileObject::fgetc ( void )
public array SplFileObject::fgetcsv ([ string `$delimiter` = "," [, string `$enclosure` = "\"" [, string `$escape` = "\\" ]]] )
public string SplFileObject::fgets ( void )
public string SplFileObject::fgetss ([ string `$allowable_tags` ] )
public bool SplFileObject::flock ( int `$operation` [, int `&$wouldblock` ] )
public int SplFileObject::fpassthru ( void )
public mixed SplFileObject::fscanf ( string `$format` [, mixed `&$...` ] )
public int SplFileObject::fseek ( int `$offset` [, int `$whence` = SEEK_SET ] )
public array SplFileObject::fstat ( void )
public int SplFileObject::ftell ( void )
public bool SplFileObject::ftruncate ( int `$size` )
public int SplFileObject::fwrite ( string `$str` [, int `$length` ] )
public void SplFileObject::getChildren ( void )
public array SplFileObject::getCsvControl ( void )
public int SplFileObject::getFlags ( void )
public int SplFileObject::getMaxLineLen ( void )
public bool SplFileObject::hasChildren ( void )
public int SplFileObject::key ( void )
public void SplFileObject::next ( void )
public void SplFileObject::rewind ( void )
public void SplFileObject::seek ( int `$line_pos` )
public void SplFileObject::setCsvControl ([ string `$delimiter` = "," [, string `$enclosure` = "\"" [, string `$escape` = "\\" ]]] )
public void SplFileObject::setFlags ( int `$flags` )
public void SplFileObject::setMaxLineLen ( int `$max_len` )
public bool SplFileObject::valid ( void )
}

## Sommaire

- SplTempFileObject::__construct — Construit un nouvel objet représentant un fichier temporaire

SplFileObject::valid
SplTempFileObject::__construct
Gestion des fichiers
PHP Manual