File
[ class tree: File ] [ index: File ] [ all elements ]

Element index for package File

[ b ] [ c ] [ d ] [ f ] [ g ] [ i ] [ p ] [ r ] [ s ] [ u ] [ w ]

b

buildPath
in file File.php, method File::buildPath()
    Returns a string path built from the array $pathParts. Where a join occurs multiple separators are removed. Joins using the optional separator, defaulting to the PHP DIRECTORY_SEPARATOR constant.
top

c

close
in file File.php, method File::close()
    This closes an open file pointer
CSV.php
procedural page CSV.php
top

d

discoverFormat
in file CSV.php, method File_CSV::discoverFormat()
    Discover the format of a CSV file (the number of fields, the separator and if it quote string fields)
top

f

File
in file File.php, class File
    Class for handling files
File.php
procedural page File.php
File_CSV
in file CSV.php, class File_CSV
    File class for handling CSV files (Comma Separated Values), a common format for exchanging data.
FILE_DEFAULT_READSIZE
in file File.php, constant FILE_DEFAULT_READSIZE
    The default number of bytes for reading
FILE_LOCK_EXCLUSIVE
in file File.php, constant FILE_LOCK_EXCLUSIVE
    Use this when an exclusive (write) lock is required
FILE_LOCK_SHARED
in file File.php, constant FILE_LOCK_SHARED
    Use this when a shared (read) lock is required
FILE_MODE_APPEND
in file File.php, constant FILE_MODE_APPEND
    Mode to use for appending to files
FILE_MODE_READ
in file File.php, constant FILE_MODE_READ
    Mode to use for reading from files
FILE_MODE_WRITE
in file File.php, constant FILE_MODE_WRITE
    Mode to use for truncating files, then writing
top

g

getPointer
in file CSV.php, method File_CSV::getPointer()
    Return or create the file descriptor associated with a file
getTempDir
in file File.php, method File::getTempDir()
    Returns the temp directory according to either the TMP, TMPDIR, or TEMP env variables. If these are not set it will also check for the existence of /tmp, %WINDIR%\temp
getTempFile
in file File.php, method File::getTempFile()
    Returns a temporary filename using tempnam() and the above getTmpDir() function.
top

i

isAbsolute
in file File.php, method File::isAbsolute()
    Returns boolean based on whether given path is absolute or not.
top

p

parser.php
procedural page parser.php
top

r

raiseError
in file CSV.php, method File_CSV::raiseError()
    This raiseError method works in a different way. It will always return false (an error occurred) but it will call PEAR::raiseError() before it. If no default PEAR global handler is set, will trigger an error.
read
in file File.php, method File::read()
    Returns a specified number of bytes of a file. Defaults to 1024.
read
in file CSV.php, method File_CSV::read()
    Reads a "row" from a CSV file and return it as an array
readAll
in file File.php, method File::readAll()
    Reads an entire file and returns it.
readChar
in file File.php, method File::readChar()
    Reads and returns a single character from given filename
readLine
in file File.php, method File::readLine()
    Returns a line of the file
readQuoted
in file CSV.php, method File_CSV::readQuoted()
    Reads a row of data as an array from a CSV file. It's able to read memo fields with multiline data.
rewind
in file File.php, method File::rewind()
    This rewinds a filepointer to the start of a file
top

s

skipRoot
in file File.php, method File::skipRoot()
    Returns a path without leading / or C:\. If this is not present the path is returned as is.
stripLeadingSeparators
in file File.php, method File::stripLeadingSeparators()
    Strips leading separators from the given path
stripTrailingSeparators
in file File.php, method File::stripTrailingSeparators()
    Strips trailing separators from the given path
top

u

unlock
in file File.php, method File::unlock()
    This unlocks a locked file pointer.
unquote
in file CSV.php, method File_CSV::unquote()
    Unquote data
top

w

write
in file CSV.php, method File_CSV::write()
    Writes a struc (array) in a file as CSV
write
in file File.php, method File::write()
    Writes the given data to the given filename. Defaults to no lock, append mode.
writeChar
in file File.php, method File::writeChar()
    Writes a single character to a file
writeLine
in file File.php, method File::writeLine()
    Writes a single line, appending a LF (by default)
top

Documentation generated on Sun, 16 May 2004 05:08:55 -0400 by phpDocumentor 1.2.3. PEAR Logo Copyright © PHP Group 2004.