Class MOXMAN_Ftp_File

InheritanceMOXMAN_Ftp_File » MOXMAN_Vfs_BaseFile
ImplementsMOXMAN_Vfs_IFile

This is the local file system implementation of MOXMAN_Vfs_IFile.

Public Methods

Hide inherited methods

MethodDescriptionDefined By
__construct() MOXMAN_Ftp_File
canRead() Returns true if the files is readable. MOXMAN_Vfs_BaseFile
canWrite() Returns true if the files is writable. MOXMAN_Vfs_BaseFile
copyTo() MOXMAN_Ftp_File
delete() MOXMAN_Ftp_File
exists() MOXMAN_Ftp_File
exportTo() MOXMAN_Ftp_File
getConfig() Returns a config instance for the current file. The config is provided by the FileConfigProvider specified for the file system. MOXMAN_Vfs_BaseFile
getFileSystem() Returns the file system that created the file. MOXMAN_Vfs_BaseFile
getInternalPath() MOXMAN_Ftp_File
getLastModified() MOXMAN_Ftp_File
getMetaData() Returns a meta data instance for the current file. MOXMAN_Vfs_BaseFile
getName() Returns the file name of a file. MOXMAN_Vfs_BaseFile
getParent() Returns the parent files absolute path or an empty string if there is no parent. MOXMAN_Vfs_BaseFile
getParentFile() Returns the parent files File instance. MOXMAN_Vfs_BaseFile
getPath() Returns the absolute path of the file. MOXMAN_Vfs_BaseFile
getPublicLinkPath() Returns the public path of a file that this file points to. MOXMAN_Vfs_BaseFile
getPublicPath() Returns the public path for a file. A public path is a path that is safe to pass to the client side since it doesn't show the systems full path. MOXMAN_Vfs_BaseFile
getSize() MOXMAN_Ftp_File
getUrl() MOXMAN_Ftp_File
importFrom() MOXMAN_Ftp_File
isDirectory() Returns true if the file is a directory. MOXMAN_Vfs_BaseFile
isFile() MOXMAN_Ftp_File
isHidden() Returns true if the file is hidden. MOXMAN_Vfs_BaseFile
listFiles() Returns an array of File instances. MOXMAN_Vfs_BaseFile
listFilesFiltered() MOXMAN_Ftp_File
mkdir() MOXMAN_Ftp_File
moveTo() MOXMAN_Ftp_File
open() MOXMAN_Ftp_File

Method Details

__construct() public method

public void __construct ( $fileSystem, $path, $stat null )
$fileSystem
$path
$stat
copyTo() public method

public void copyTo ( MOXMAN_Vfs_IFile $dest )
$dest
delete() public method

public void delete ( $deep false )
$deep
exists() public method

public void exists ( )
exportTo() public method

public void exportTo ( $localPath )
$localPath
getInternalPath() public method

public void getInternalPath ( $path null )
$path
getLastModified() public method

public void getLastModified ( )
getSize() public method

public void getSize ( )
getUrl() public method

public void getUrl ( )
importFrom() public method

public void importFrom ( $localPath )
$localPath
isFile() public method

public void isFile ( )
listFilesFiltered() public method

public void listFilesFiltered ( MOXMAN_Vfs_IFileFilter $filter )
$filter
mkdir() public method

public void mkdir ( )
moveTo() public method

public void moveTo ( MOXMAN_Vfs_IFile $dest )
$dest
open() public method

public void open ( $mode = \MOXMAN_Vfs_IStream::READ )
$mode