phpDocumentor Rewrite
PHPUnit
[ class tree: Rewrite ] [ index: Rewrite ] [ all elements ]

Class: ModRewriteHelperMockPlatform

Source Location: /modules/rewrite/test/phpunit/ModRewriteHelperTest.class

Class ModRewriteHelperMockPlatform

Inherited Properties, Constants, and Methods
Inherited Properties Inherited Methods Inherited Constants

Inherited From GalleryPlatform

GalleryPlatform::$_blacklistedFileExtensions

Inherited From GalleryPlatform

GalleryPlatform::atomicWrite()
Perform an atomic write to a file. This guarantees that the data written is not corrupted (but it does not prevent another process from immediately replacing the file with its own version).
GalleryPlatform::chdir()
chdir -- change working directory.
GalleryPlatform::chmod()
Set filesystem permissions; mode defaults to system preference for file/dir permissions.
GalleryPlatform::clearstatcache()
Clear the stat cache.
GalleryPlatform::closedir()
Close a directory resource.
GalleryPlatform::copy()
Copy a file.
GalleryPlatform::exec()
Execute a command and record the results and status.
GalleryPlatform::fclose()
Closes an open file pointer.
GalleryPlatform::feof()
Tests for end-of-file on a file pointer.
GalleryPlatform::fflush()
Flush an open file pointer.
GalleryPlatform::fgets()
Gets line from file pointer.
GalleryPlatform::file()
Return a file as an array.
GalleryPlatform::filesize()
How large is the given file?
GalleryPlatform::file_exists()
Does the given file exist?
GalleryPlatform::file_get_contents()
Reads the entire contents of the specified file into a string.
GalleryPlatform::file_put_contents()
Writes specified data to file. Uses PHP's file_put_contents() function if it is available.
GalleryPlatform::flock()
flock -- Portable advisory file locking.
GalleryPlatform::fopen()
Open a file or URL.
GalleryPlatform::fread()
Reads data from an open file handle.
GalleryPlatform::fseek()
Seeks on a file pointer.
GalleryPlatform::fsockopen()
Initiates a socket connection to the resource specified by target.
GalleryPlatform::ftruncate()
Truncates a file to a given length.
GalleryPlatform::fwrite()
Write the contents of string to the file stream pointed to by handle.
GalleryPlatform::getcwd()
getcwd -- gets the current working directory.
GalleryPlatform::getDirectorySeparator()
Return the filesystem specific directory separator.
GalleryPlatform::getimagesize()
Get size information about an image.
GalleryPlatform::getLegalPathCharacters()
Legal characters on all systems: A-Z a-z 0-9 # _ . -
GalleryPlatform::getLineEnding()
Return the string of characters which represent the line ending on this platform.
GalleryPlatform::glob()
The glob() function searches for all the pathnames matching pattern according to the rules used by the libc glob() function, which is similar to the rules used by common shells. No tilde expansion or parameter substitution is done.
GalleryPlatform::isLegalPathComponent()
Return true if the path component specified is composed of legal characters.
GalleryPlatform::isRestrictedByOpenBaseDir()
Return true if the path provided is not allowed by the current open_basedir configuration.
GalleryPlatform::isSymlinkSupported()
Return a boolean specifying whether or not this platform can perform a symbolic link (symlink) command.
GalleryPlatform::is_dir()
Is the given path a directory?
GalleryPlatform::is_executable()
Is the given path an executable file?
GalleryPlatform::is_file()
Is the given path a normal file?
GalleryPlatform::is_link()
Is the given path a symbolic link?
GalleryPlatform::is_readable()
Is the given path a readable file?
GalleryPlatform::is_uploaded_file()
Is the given path an uploaded file?
GalleryPlatform::is_writeable()
Is the given path a writeable file?
GalleryPlatform::legalizePathComponent()
Remove any illegal characters from the path component.
GalleryPlatform::mail()
mail -- Send an email. Lines in the headers and body should be terminated with \r\n in accordance with RFC2821.
GalleryPlatform::mkdir()
Create a new directory.
GalleryPlatform::move_uploaded_file()
Move an uploaded file to a new location and return the new location. If the second filename is not provided, a new file is created in the Gallery temporary directory.
GalleryPlatform::opendir()
Open a file or URL.
GalleryPlatform::readdir()
Return the next file resource from a directory.
GalleryPlatform::readfile()
Output a file.
GalleryPlatform::realpath()
Expand all symbolic links and resolve references to '/./', '/../' and extra '/' characters in
GalleryPlatform::recursiveChmod()
Recursively set filesystem permissions. Modes default to system preferences for file/dir permissions.
GalleryPlatform::recursiveFixDirPermissions()
Fixes the directory permissions (as eg. unzip creates them with file permissions because of the umask).
GalleryPlatform::recursiveRmdir()
Delete a directory, and all its contents.
GalleryPlatform::rename()
Rename a file/dir.
GalleryPlatform::resetPlatform()
Clear any cached saved state in this platform.
GalleryPlatform::rmdir()
Delete a directory.
GalleryPlatform::splitPath()
Split path into component elements. Include root path for absolute paths.
GalleryPlatform::stat()
Get information about a file.
GalleryPlatform::strftime()
Format a local time/date according to locale settings. Converts any text output from strftime tokens to UTF-8.
GalleryPlatform::symlink()
Symlink a file.
GalleryPlatform::tempnam()
Create a file with a unique file name.
GalleryPlatform::touch()
touch -- Sets access and modification time of file.
GalleryPlatform::unlink()
Delete a file.
GalleryPlatform::_isRestrictedByOpenBaseDir()
Check if path is allowed by open_basedir, given platform path separator & case sensitivity.
GalleryPlatform::_loadPermissionPreferences()
Load preferences for file/dir permissions and calculate umask.
GalleryPlatform::_recursiveChmod()
Helper for recursiveChmod.

[ Top ]
Property Summary
mixed   $_embeddedPreviousContent  
mixed   $_fileExists  
mixed   $_fileExistsEmbed  
mixed   $_isReadable  
mixed   $_isReadableEmbed  
mixed   $_isWriteable  
mixed   $_isWriteableEmbed  
mixed   $_previousContent  

[ Top ]
Method Summary
void   fclose()  
void   feof()  
void   fflush()  
void   fgets()  
void   file()  
void   file_exists()  
void   fopen()  
void   fread()  
void   fsockopen()  
void   fwrite()  
void   init()  
void   is_dir()  
void   is_readable()  
void   is_writeable()  

[ Top ]
Properties
mixed   $_embeddedPreviousContent = array() [line 325]

[ Top ]
mixed   $_fileExists = true [line 321]

[ Top ]
mixed   $_fileExistsEmbed = true [line 324]

[ Top ]
mixed   $_isReadable = true [line 320]

[ Top ]
mixed   $_isReadableEmbed = true [line 323]

[ Top ]
mixed   $_isWriteable = true [line 319]

[ Top ]
mixed   $_isWriteableEmbed = true [line 322]

[ Top ]
mixed   $_previousContent = array() [line 326]

[ Top ]
Methods
fclose  [line 487]

  void fclose( $handle  )

Parameters:
   $handle: 


Redefinition of:
GalleryPlatform::fclose()
Closes an open file pointer.

[ Top ]
feof  [line 389]

  void feof( $handle  )

Parameters:
   $handle: 


Redefinition of:
GalleryPlatform::feof()
Tests for end-of-file on a file pointer.

[ Top ]
fflush  [line 430]

  void fflush( $handle  )

Parameters:
   $handle: 


Redefinition of:
GalleryPlatform::fflush()
Flush an open file pointer.

[ Top ]
fgets  [line 397]

  void fgets( $handle, $length  )

Parameters:
   $handle: 
   $length: 


Redefinition of:
GalleryPlatform::fgets()
Gets line from file pointer.

[ Top ]
file  [line 460]

  void file( $file  )

Parameters:
   $file: 


Redefinition of:
GalleryPlatform::file()
Return a file as an array.

[ Top ]
file_exists  [line 340]

  void file_exists( $file  )

Parameters:
   $file: 


Redefinition of:
GalleryPlatform::file_exists()
Does the given file exist?

[ Top ]
fopen  [line 467]

  void fopen( $file, $mode, [ $useIncludePath = null], [ $zcontext = null]  )

Parameters:
   $file: 
   $mode: 
   $useIncludePath: 
   $zcontext: 


Redefinition of:
GalleryPlatform::fopen()
Open a file or URL.

[ Top ]
fread  [line 409]

  void fread( $handle, $length  )

Parameters:
   $handle: 
   $length: 


Redefinition of:
GalleryPlatform::fread()
Reads data from an open file handle.

[ Top ]
fsockopen  [line 332]

  void fsockopen( $target, $port, &$errno, &$errstr, $timeout  )

Parameters:
   $target: 
   $port: 
   &$errno: 
   &$errstr: 
   $timeout: 


Redefinition of:
GalleryPlatform::fsockopen()
Initiates a socket connection to the resource specified by target.

[ Top ]
fwrite  [line 358]

  void fwrite( $handle, $string, [ $length = 0]  )

Parameters:
   $handle: 
   $string: 
   $length: 


Redefinition of:
GalleryPlatform::fwrite()
Write the contents of string to the file stream pointed to by handle.

[ Top ]
init  [line 328]

  void init( &$test  )

Parameters:
   &$test: 


[ Top ]
is_dir  [line 350]

  void is_dir( $path  )

Parameters:
   $path: 


Redefinition of:
GalleryPlatform::is_dir()
Is the given path a directory?

[ Top ]
is_readable  [line 438]

  void is_readable( $file  )

Parameters:
   $file: 


Redefinition of:
GalleryPlatform::is_readable()
Is the given path a readable file?

[ Top ]
is_writeable  [line 448]

  void is_writeable( $file  )

Parameters:
   $file: 


Redefinition of:
GalleryPlatform::is_writeable()
Is the given path a writeable file?

[ Top ]

Documentation generated on Fri, 08 Oct 2010 05:33:39 -0700 by phpDocumentor 1.3.0RC6