Class MOXMAN_Favorites_File
| Inheritance | MOXMAN_Favorites_File » MOXMAN_Vfs_BaseFile |
|---|---|
| Implements | MOXMAN_Vfs_IFile |
File.php
Copyright 2003-2013, Moxiecode Systems AB, All rights reserved.
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_Favorites_File | |
| canRead() | Returns true if the files is readable. | MOXMAN_Vfs_BaseFile |
| canWrite() | MOXMAN_Favorites_File | |
| copyTo() | Copies this file to the specified file instance. | MOXMAN_Vfs_BaseFile |
| delete() | Deletes the file. | MOXMAN_Vfs_BaseFile |
| exists() | MOXMAN_Favorites_File | |
| exportTo() | Exports the current file to the specified local path. | MOXMAN_Vfs_BaseFile |
| 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 |
| getLastModified() | MOXMAN_Favorites_File | |
| getMetaData() | MOXMAN_Favorites_File | |
| getName() | MOXMAN_Favorites_File | |
| getParent() | MOXMAN_Favorites_File | |
| getParentFile() | Returns the parent files File instance. | MOXMAN_Vfs_BaseFile |
| getPath() | Returns the absolute path of the file. | MOXMAN_Vfs_BaseFile |
| getPublicLinkPath() | MOXMAN_Favorites_File | |
| 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_Favorites_File | |
| getUrl() | Returns the public URL for the file. | MOXMAN_Vfs_BaseFile |
| importFrom() | Imports the specified local file to the current file instance. | MOXMAN_Vfs_BaseFile |
| isDirectory() | Returns true if the file is a directory. | MOXMAN_Vfs_BaseFile |
| isFile() | MOXMAN_Favorites_File | |
| isHidden() | Returns true if the file is hidden. | MOXMAN_Vfs_BaseFile |
| listFiles() | Returns an array of File instances. | MOXMAN_Vfs_BaseFile |
| listFilesFiltered() | MOXMAN_Favorites_File | |
| mkdir() | Creates a new directory. | MOXMAN_Vfs_BaseFile |
| moveTo() | Renames/Moves this file to the specified file instance. | MOXMAN_Vfs_BaseFile |
| open() | Opens a file stream by the specified mode. The default mode is rb. | MOXMAN_Vfs_BaseFile |
Method Details
| public void __construct ( $fileSystem, $path, $entry = null ) | ||
| $fileSystem | ||
| $path | ||
| $entry | ||
| public void canWrite ( ) |
| public void exists ( ) |
| public void getLastModified ( ) |
| public void getMetaData ( ) |
| public void getName ( ) |
| public void getParent ( ) |
| public void getPublicLinkPath ( ) |
| public void getSize ( ) |
| public void isFile ( ) |
| public void listFilesFiltered ( MOXMAN_Vfs_IFileFilter $filter ) | ||
| $filter | ||