TYPO3  7.6
Public Member Functions | Public Attributes | Private Attributes | List of all members
MockSplFileInfo Class Reference
Inheritance diagram for MockSplFileInfo:
SplFileInfo

Public Member Functions

 __construct ($param)
 
 isFile ()
 
 isDir ()
 
 isReadable ()
 
 getContents ()
 
 setContents ($contents)
 
 setMode ($mode)
 
 setType ($type)
 
 setRelativePath ($relativePath)
 
 setRelativePathname ($relativePathname)
 
 getRelativePath ()
 
 getRelativePathname ()
 
- Public Member Functions inherited from SplFileInfo
 __construct ($file, $relativePath, $relativePathname)
 
 getRelativePath ()
 
 getRelativePathname ()
 
 getContents ()
 

Public Attributes

const TYPE_DIRECTORY = 1
 
const TYPE_FILE = 2
 
const TYPE_UNKNOWN = 3
 

Private Attributes

 $contents = null
 
 $mode = null
 
 $type = null
 
 $relativePath = null
 
 $relativePathname = null
 

Detailed Description

Definition at line 14 of file MockSplFileInfo.php.

Constructor & Destructor Documentation

__construct (   $param)

Member Function Documentation

getContents ( )

Definition at line 78 of file MockSplFileInfo.php.

References MockSplFileInfo\$contents.

getRelativePath ( )

Definition at line 125 of file MockSplFileInfo.php.

References MockSplFileInfo\$relativePath.

getRelativePathname ( )

Definition at line 130 of file MockSplFileInfo.php.

References MockSplFileInfo\$relativePathname.

isDir ( )

Definition at line 60 of file MockSplFileInfo.php.

References MockSplFileInfo\$type.

isFile ( )

Definition at line 51 of file MockSplFileInfo.php.

References MockSplFileInfo\$type.

isReadable ( )

Definition at line 69 of file MockSplFileInfo.php.

setContents (   $contents)

Definition at line 83 of file MockSplFileInfo.php.

References MockSplFileInfo\$contents.

Referenced by MockSplFileInfo\__construct().

setMode (   $mode)

Definition at line 88 of file MockSplFileInfo.php.

References MockSplFileInfo\$mode.

Referenced by MockSplFileInfo\__construct().

setRelativePath (   $relativePath)

Definition at line 115 of file MockSplFileInfo.php.

References MockSplFileInfo\$relativePath.

Referenced by MockSplFileInfo\__construct().

setRelativePathname (   $relativePathname)

Definition at line 120 of file MockSplFileInfo.php.

References MockSplFileInfo\$relativePathname.

Referenced by MockSplFileInfo\__construct().

setType (   $type)

Definition at line 93 of file MockSplFileInfo.php.

References MockSplFileInfo\$type.

Referenced by MockSplFileInfo\__construct().

Member Data Documentation

$contents = null
private

Definition at line 20 of file MockSplFileInfo.php.

Referenced by MockSplFileInfo\getContents(), and MockSplFileInfo\setContents().

$mode = null
private

Definition at line 21 of file MockSplFileInfo.php.

Referenced by MockSplFileInfo\setMode().

$relativePath = null
private
$relativePathname = null
private
$type = null
private
const TYPE_DIRECTORY = 1

Definition at line 16 of file MockSplFileInfo.php.

const TYPE_FILE = 2

Definition at line 17 of file MockSplFileInfo.php.

const TYPE_UNKNOWN = 3

Definition at line 18 of file MockSplFileInfo.php.