# SplTempFileObject クラス

(PHP 5 >= 5.1.2, PHP 7)

## はじめに

SplTempFileObject クラスは一時ファイルのためのオブジェクト指向インターフェイスを提供します。

## クラス概要

SplTempFileObject extends SplFileObject implements SeekableIterator , RecursiveIterator {
/* メソッド */
public __construct ([ int `$max_memory` ] )
/* 継承したメソッド */
public SplFileObject::current ( void ) : string|array
public SplFileObject::eof ( void ) : bool
public SplFileObject::fflush ( void ) : bool
public SplFileObject::fgetc ( void ) : string
public SplFileObject::fgetcsv ([ string `$delimiter` = "," [, string `$enclosure` = "\"" [, string `$escape` = "\\" ]]] ) : array
public SplFileObject::fgets ( void ) : string
public SplFileObject::fgetss ([ string `$allowable_tags` ] ) : string
public SplFileObject::flock ( int `$operation` [, int `&$wouldblock` ] ) : bool
public SplFileObject::fpassthru ( void ) : int
public SplFileObject::fputcsv ( array `$fields` [, string `$delimiter` = "," [, string `$enclosure` = '"' [, string `$escape` = "\\" ]]] ) : int
public SplFileObject::fread ( int `$length` ) : string
public SplFileObject::fscanf ( string `$format` [, mixed `&$...` ] ) : mixed
public SplFileObject::fseek ( int `$offset` [, int `$whence` = SEEK_SET ] ) : int
public SplFileObject::fstat ( void ) : array
public SplFileObject::ftell ( void ) : int
public SplFileObject::ftruncate ( int `$size` ) : bool
public SplFileObject::fwrite ( string `$str` [, int `$length` ] ) : int
public SplFileObject::getChildren ( void ) : void
public SplFileObject::getCsvControl ( void ) : array
public SplFileObject::getFlags ( void ) : int
public SplFileObject::getMaxLineLen ( void ) : int
public SplFileObject::hasChildren ( void ) : bool
public SplFileObject::key ( void ) : int
public SplFileObject::next ( void ) : void
public SplFileObject::rewind ( void ) : void
public SplFileObject::seek ( int `$line_pos` ) : void
public SplFileObject::setCsvControl ([ string `$delimiter` = "," [, string `$enclosure` = "\"" [, string `$escape` = "\\" ]]] ) : void
public SplFileObject::setFlags ( int `$flags` ) : void
public SplFileObject::setMaxLineLen ( int `$max_len` ) : void
public SplFileObject::__toString ( void ) : void
public SplFileObject::valid ( void ) : bool
}

## 目次

- SplTempFileObject::__construct — 新しい一時ファイルオブジェクトを作成する