extends |
SplFileInfo |
---|---|
implements |
RecursiveIterator, SeekableIterator |
Methods | ||
---|---|---|
public
|
fputcsv(array $fields, string $separator = ",", string $enclosure = "\"", string $escape = "\\", string $eol = "\n")
|
# |
public
|
__construct(string $filename, string $mode = "r", bool $useIncludePath = false, resource|null $context = null)
|
# |
public
|
rewind(): void
|
# |
public
|
eof(): bool
|
# |
public
|
valid(): bool
|
# |
public
|
fgets(): string
|
# |
public
|
fread(int $length): string|false
|
# |
public
|
fgetcsv(string $separator = ",", string $enclosure = "\"", string $escape = "\\"): array|false
|
# |
public
|
setCsvControl(string $separator = ",", string $enclosure = "\"", string $escape = "\\"): void
|
# |
public
|
getCsvControl(): array
|
# |
public
|
flock(int $operation, int &$wouldBlock = null): bool
|
# |
public
|
fflush(): bool
|
# |
public
|
ftell(): int|false
|
# |
public
|
fseek(int $offset, int $whence = SEEK_SET): int
|
# |
public
|
fgetc(): string|false
|
# |
public
|
fpassthru(): int
|
# |
public
|
fscanf(string $format, mixed &...$vars): array|int|null
|
# |
public
|
fwrite(string $data, int $length = 0): int|false
|
# |
public
|
fstat(): array
|
# |
public
|
ftruncate(int $size): bool
|
# |
public
|
current(): string|array|false
|
# |
public
|
key(): int
|
# |
public
|
next(): void
|
# |
public
|
setFlags(int $flags): void
|
# |
public
|
getFlags(): int
|
# |
public
|
setMaxLineLen(int $maxLength): void
|
# |
public
|
getMaxLineLen(): int
|
# |
public
|
hasChildren(): bool
|
# |
public
|
getChildren(): RecursiveIterator|null
|
# |
public
|
seek(int $line): void
|
# |
public
|
getCurrentLine(): string
|
# |
public
|
__toString(): string
|
# |
Constants | ||
---|---|---|
public
|
DROP_NEW_LINE = UNKNOWN
|
# |
public
|
READ_AHEAD = UNKNOWN
|
# |
public
|
SKIP_EMPTY = UNKNOWN
|
# |
public
|
READ_CSV = UNKNOWN
|
# |