phpDocumentor GalleryCore
Platform
[ class tree: GalleryCore ] [ index: GalleryCore ] [ all elements ]

Class: UnixPlatform

Source Location: /modules/core/classes/GalleryPlatform/UnixPlatform.class

Class UnixPlatform

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 ]
Method Summary
void   exec()  
void   getLineEnding()  
void   isRestrictedByOpenBaseDir()  
void   isSymlinkSupported()  
void   splitPath()  

[ Top ]
Methods
exec  [line 40]

  void exec( $cmdArray  )

Parameters:
   $cmdArray: 

API Tags:
See:  GalleryPlatform::exec


Redefinition of:
GalleryPlatform::exec()
Execute a command and record the results and status.

[ Top ]
getLineEnding  [line 173]

  void getLineEnding( )


API Tags:
See:  GalleryPlatform::getLineEnding


Redefinition of:
GalleryPlatform::getLineEnding()
Return the string of characters which represent the line ending on this platform.

[ Top ]
isRestrictedByOpenBaseDir  [line 142]

  void isRestrictedByOpenBaseDir( $path  )

Parameters:
   $path: 

API Tags:
See:  GalleryPlatform::isRestrictedByOpenBaseDir


Redefinition of:
GalleryPlatform::isRestrictedByOpenBaseDir()
Return true if the path provided is not allowed by the current open_basedir configuration.

[ Top ]
isSymlinkSupported  [line 166]

  void isSymlinkSupported( )


API Tags:
See:  GalleryPlatform::isSymlinkSupported symlink may have been disabled so make sure it still exists


Redefinition of:
GalleryPlatform::isSymlinkSupported()
Return a boolean specifying whether or not this platform can perform a symbolic link (symlink) command.

[ Top ]
splitPath  [line 149]

  void splitPath( $path  )

Parameters:
   $path: 

API Tags:
See:  GalleryPlatform::splitPath


Redefinition of:
GalleryPlatform::splitPath()
Split path into component elements. Include root path for absolute paths.

[ Top ]

Documentation generated on Fri, 08 Oct 2010 06:01:52 -0700 by phpDocumentor 1.3.0RC6