Class MOXMAN_Ftp_File
Inheritance | MOXMAN_Ftp_File » MOXMAN_Vfs_BaseFile |
---|---|
Implements | MOXMAN_Vfs_IFile |
This is the local file system implementation of MOXMAN_Vfs_IFile.
Protected Properties
Property | Type | Description | Defined By |
---|---|---|---|
$config | MOXMAN_Util_Config | MOXMAN_Vfs_BaseFile | |
$fileSystem | MOXMAN_Vfs_FileSystem | MOXMAN_Vfs_BaseFile | |
$meta | MOXMAN_Vfs_FileMetaData | MOXMAN_Vfs_BaseFile | |
$path | string | MOXMAN_Vfs_BaseFile | |
$publicPath | \[type] | MOXMAN_Vfs_BaseFile | |
$url | string | MOXMAN_Vfs_BaseFile |
Public Methods
Method | Description | Defined 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
public void __construct ( $fileSystem, $path, $stat = null ) | ||
$fileSystem | ||
$path | ||
$stat |
public void copyTo ( MOXMAN_Vfs_IFile $dest ) | ||
$dest |
public void delete ( $deep = false ) | ||
$deep |
public void exists ( ) |
public void exportTo ( $localPath ) | ||
$localPath |
public void getInternalPath ( $path = null ) | ||
$path |
public void getLastModified ( ) |
public void getSize ( ) |
public void getUrl ( ) |
public void importFrom ( $localPath ) | ||
$localPath |
public void isFile ( ) |
public void listFilesFiltered ( MOXMAN_Vfs_IFileFilter $filter ) | ||
$filter |
public void mkdir ( ) |
public void moveTo ( MOXMAN_Vfs_IFile $dest ) | ||
$dest |
public void open ( $mode = \MOXMAN_Vfs_IStream::READ ) | ||
$mode |