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

Index of all elements

[ a ] [ b ] [ c ] [ d ] [ e ] [ f ] [ g ] [ k ] [ m ] [ n ] [ o ] [ p ] [ r ] [ s ] [ t ] [ u ] [ v ] [ _ ]

a

add
in file Fortune.php, method File_Fortune::add()
    Add a new fortune
AllTests
in file AllTests.php, class AllTests
AllTests.php
procedural page AllTests.php
top

b

$base
in file File_FortuneTest.php, variable File_FortuneTest::$base
    Base files directory
top

c

count
in file Fortune.php, method File_Fortune::count()
    Count of fortunes in current active file, or of all fortunes in all files
create
in file Fortune.php, method File_Fortune::create()
    Create a new fortune file from an array of fortunes
current
in file Fortune.php, method File_Fortune::current()
    Return current fortune in iterator
top

d

$delim
in file Fortune.php, variable File_Fortune::$delim
    Character that delimits fortunes (defaults to '%')
delete
in file Fortune.php, method File_Fortune::delete()
    Delete an existing fortune
top

e

Exception.php
procedural page Exception.php
top

f

$fortuneFiles
in file File_FortuneTest.php, variable File_FortuneTest::$fortuneFiles
    Array of fortune files to use in testing (including header files)
$fortunes
in file File_FortuneTest.php, variable File_FortuneTest::$fortunes
File_Fortune
in file Fortune.php, class File_Fortune
    File_Fortune
Fortune.php
procedural page Fortune.php
File_FortuneTest.php
procedural page File_FortuneTest.php
File_FortuneTest
in file File_FortuneTest.php, class File_FortuneTest
    Test class for File_Fortune.
File_Fortune_Exception
in file Exception.php, class File_Fortune_Exception
    File_Fortune_Exception
top

g

getAll
in file Fortune.php, method File_Fortune::getAll()
    Retrieve all fortunes from the current file or set of files
getDirectory
in file Fortune.php, method File_Fortune::getDirectory()
    Retrieve current directory of fortune files
getFile
in file Fortune.php, method File_Fortune::getFile()
    Retrieve current fortune file name
getFiles
in file Fortune.php, method File_Fortune::getFiles()
    Return list of fortune files in use
getHeaderFile
in file Fortune.php, method File_Fortune::getHeaderFile()
    Retrieve current header file name
getRandom
in file Fortune.php, method File_Fortune::getRandom()
    Retrieve random fortune
top

k

key
in file Fortune.php, method File_Fortune::key()
    Return current iterator key
top

m

$maxLength
in file Fortune.php, variable File_Fortune::$maxLength
    Length of longest string in the fortune file
$minLength
in file Fortune.php, variable File_Fortune::$minLength
    Length of shortest string in the fortune file
main
in file File_FortuneTest.php, method File_FortuneTest::main()
    Runs the test methods of this class.
main
in file AllTests.php, method AllTests::main()
top

n

$numstr
in file Fortune.php, variable File_Fortune::$numstr
    Number of strings (fortunes) in the file
next
in file Fortune.php, method File_Fortune::next()
    Retrieve next element in iterator
top

o

$offsets
in file Fortune.php, variable File_Fortune::$offsets
    Array of file offsets (fortune indices)
offsetExists
in file Fortune.php, method File_Fortune::offsetExists()
    Does fortune exist at the given offset?
offsetGet
in file Fortune.php, method File_Fortune::offsetGet()
    Retrieve fortune by offset
offsetSet
in file Fortune.php, method File_Fortune::offsetSet()
    Set a fortune at a given offset
offsetUnset
in file Fortune.php, method File_Fortune::offsetUnset()
    Delete a fortune at a given offset
top

p

PHPUnit_MAIN_METHOD
in file AllTests.php, constant PHPUnit_MAIN_METHOD
top

r

rewind
in file Fortune.php, method File_Fortune::rewind()
    Rewind iterator to first element
top

s

save
in file Fortune.php, method File_Fortune::save()
    Save changes
setDirectory
in file Fortune.php, method File_Fortune::setDirectory()
    Set directory from which to randomly select a fortune file
setFile
in file Fortune.php, method File_Fortune::setFile()
    Set fortune file
setFiles
in file Fortune.php, method File_Fortune::setFiles()
    Set one or more files to search for fortunes
setHeaderFile
in file Fortune.php, method File_Fortune::setHeaderFile()
    Set header file name
setUp
in file File_FortuneTest.php, method File_FortuneTest::setUp()
    Sets up the fixture, for example, open a network connection.
suite
in file AllTests.php, method AllTests::suite()
top

t

tearDown
in file File_FortuneTest.php, method File_FortuneTest::tearDown()
    Tears down the fixture, for example, close a network connection.
testAddFortuneAppends
in file File_FortuneTest.php, method File_FortuneTest::testAddFortuneAppends()
testArrayAccessThrowsExceptionWithDirectorySet
in file File_FortuneTest.php, method File_FortuneTest::testArrayAccessThrowsExceptionWithDirectorySet()
testArrayAccessThrowsExceptionWithMultipleFilesSet
in file File_FortuneTest.php, method File_FortuneTest::testArrayAccessThrowsExceptionWithMultipleFilesSet()
testCountable
in file File_FortuneTest.php, method File_FortuneTest::testCountable()
testCountAccumulatesAllWhenDirectorySet
in file File_FortuneTest.php, method File_FortuneTest::testCountAccumulatesAllWhenDirectorySet()
testCountAccumulatesAllWhenMultipleFilesSet
in file File_FortuneTest.php, method File_FortuneTest::testCountAccumulatesAllWhenMultipleFilesSet()
testCreateNewFortuneFile
in file File_FortuneTest.php, method File_FortuneTest::testCreateNewFortuneFile()
testDelete
in file File_FortuneTest.php, method File_FortuneTest::testDelete()
testGetAll
in file File_FortuneTest.php, method File_FortuneTest::testGetAll()
testGetAllWhenDirectorySetRetrievesAllFortunes
in file File_FortuneTest.php, method File_FortuneTest::testGetAllWhenDirectorySetRetrievesAllFortunes()
testGetAndSetDirectory
in file File_FortuneTest.php, method File_FortuneTest::testGetAndSetDirectory()
testGetDirectoryInitiallyNull
in file File_FortuneTest.php, method File_FortuneTest::testGetDirectoryInitiallyNull()
testGetFileInitiallyNull
in file File_FortuneTest.php, method File_FortuneTest::testGetFileInitiallyNull()
testGetFilesAfterDirectorySet
in file File_FortuneTest.php, method File_FortuneTest::testGetFilesAfterDirectorySet()
testGetHeaderFileInitiallyNull
in file File_FortuneTest.php, method File_FortuneTest::testGetHeaderFileInitiallyNull()
testGetRandom
in file File_FortuneTest.php, method File_FortuneTest::testGetRandom()
testGetRandomWithDirectorySetShouldWork
in file File_FortuneTest.php, method File_FortuneTest::testGetRandomWithDirectorySetShouldWork()
testIteratorAccess
in file File_FortuneTest.php, method File_FortuneTest::testIteratorAccess()
testIteratorOverDirectoryThrowsException
in file File_FortuneTest.php, method File_FortuneTest::testIteratorOverDirectoryThrowsException()
testIteratorOverFilesThrowsException
in file File_FortuneTest.php, method File_FortuneTest::testIteratorOverFilesThrowsException()
testOffsetExists
in file File_FortuneTest.php, method File_FortuneTest::testOffsetExists()
testOffsetExistsViaArrayAccess
in file File_FortuneTest.php, method File_FortuneTest::testOffsetExistsViaArrayAccess()
testOffsetGet
in file File_FortuneTest.php, method File_FortuneTest::testOffsetGet()
testOffsetGetViaArrayAccess
in file File_FortuneTest.php, method File_FortuneTest::testOffsetGetViaArrayAccess()
testOffsetSet
in file File_FortuneTest.php, method File_FortuneTest::testOffsetSet()
testOffsetSetViaArrayAccess
in file File_FortuneTest.php, method File_FortuneTest::testOffsetSetViaArrayAccess()
testOffsetUnset
in file File_FortuneTest.php, method File_FortuneTest::testOffsetUnset()
testOffsetUnsetViaArrayAccess
in file File_FortuneTest.php, method File_FortuneTest::testOffsetUnsetViaArrayAccess()
testRetrieveByIndexSameWhenReadingFromFileAsFromArray
in file File_FortuneTest.php, method File_FortuneTest::testRetrieveByIndexSameWhenReadingFromFileAsFromArray()
testSavingChangesToFile
in file File_FortuneTest.php, method File_FortuneTest::testSavingChangesToFile()
testSetAndGetFile
in file File_FortuneTest.php, method File_FortuneTest::testSetAndGetFile()
testSetAndGetFilesAsArray
in file File_FortuneTest.php, method File_FortuneTest::testSetAndGetFilesAsArray()
testSetAndGetFilesAsIndividualArguments
in file File_FortuneTest.php, method File_FortuneTest::testSetAndGetFilesAsIndividualArguments()
testSetAndGetHeaderFile
in file File_FortuneTest.php, method File_FortuneTest::testSetAndGetHeaderFile()
testSetDirectoryUnsetsFilename
in file File_FortuneTest.php, method File_FortuneTest::testSetDirectoryUnsetsFilename()
testSetFileSetsHeaderFileWhenProvided
in file File_FortuneTest.php, method File_FortuneTest::testSetFileSetsHeaderFileWhenProvided()
testSetFilesInitiallyNull
in file File_FortuneTest.php, method File_FortuneTest::testSetFilesInitiallyNull()
testSetFilesUnsetsDirectory
in file File_FortuneTest.php, method File_FortuneTest::testSetFilesUnsetsDirectory()
testSetFilesUnsetsFilename
in file File_FortuneTest.php, method File_FortuneTest::testSetFilesUnsetsFilename()
testUpdate
in file File_FortuneTest.php, method File_FortuneTest::testUpdate()
top

u

update
in file Fortune.php, method File_Fortune::update()
    Update an existing fortune
top

v

$version
in file Fortune.php, variable File_Fortune::$version
    Version number for fortune file
valid
in file Fortune.php, method File_Fortune::valid()
    Current element is valid (iterator)
VERSION
in file Fortune.php, class constant File_Fortune::VERSION
top

_

$_changed
in file Fortune.php, variable File_Fortune::$_changed
    Flag - has an operation changed the file?
$_curOffset
in file Fortune.php, variable File_Fortune::$_curOffset
    Current offset (used by iterator)
$_directory
in file Fortune.php, variable File_Fortune::$_directory
    Directory containing fortune files
$_file
in file Fortune.php, variable File_Fortune::$_file
    Fortune file filehandle
$_filename
in file Fortune.php, variable File_Fortune::$_filename
    Name of fortune file to use
$_files
in file Fortune.php, variable File_Fortune::$_files
    Array of fortune files found in $_directory
$_flags
in file Fortune.php, variable File_Fortune::$_flags
    Bit field for flags
$_fortunes
in file Fortune.php, variable File_Fortune::$_fortunes
    Array of fortunes; unset by default.
$_headerFile
in file Fortune.php, variable File_Fortune::$_headerFile
    Name of fortune header file (.dat file)
$_noHeader
in file Fortune.php, variable File_Fortune::$_noHeader
    Flag indicating whether or not a header file is present. Defaults to false.
_close
in file Fortune.php, method File_Fortune::_close()
    Close fortune file
_computeHeader
in file Fortune.php, method File_Fortune::_computeHeader()
    Compute fortune file header information
_countAll
in file File_FortuneTest.php, method File_FortuneTest::_countAll()
_getAll
in file Fortune.php, method File_Fortune::_getAll()
    Retrieve all fortunes from the current active file
_getOne
in file Fortune.php, method File_Fortune::_getOne()
    Retrieve a single fortune by offset
_getRandomFile
in file Fortune.php, method File_Fortune::_getRandomFile()
    Randomly select a fortune file from a registered directory
_initChanges
in file Fortune.php, method File_Fortune::_initChanges()
    Initialize changes
_offsetExists
in file Fortune.php, method File_Fortune::_offsetExists()
    Retrieve by offset in file
_open
in file Fortune.php, method File_Fortune::_open()
    Open a fortune file
_readFromFile
in file Fortune.php, method File_Fortune::_readFromFile()
    Read a fortune from the file
_readHeader
in file Fortune.php, method File_Fortune::_readHeader()
    Read a fortune database header file
_save
in file Fortune.php, method File_Fortune::_save()
    Save changes to disc
_traverseDirectory
in file Fortune.php, method File_Fortune::_traverseDirectory()
    Traverse a registered directory to get a list of files
_tryArrayAccess
in file File_FortuneTest.php, method File_FortuneTest::_tryArrayAccess()
_writeHeader
in file Fortune.php, method File_Fortune::_writeHeader()
    Write the header file for a fortune file
__construct
in file Fortune.php, method File_Fortune::__construct()
    Constructor
__destruct
in file Fortune.php, method File_Fortune::__destruct()
    Destructor
top

Documentation generated on Tue, 24 Jul 2007 09:30:04 -0400 by phpDocumentor 1.4.0. PEAR Logo Copyright © PHP Group 2004.