Public Member Functions | |
open (array $args=array()) | |
close () | |
mkdir ($dir, $mode=0777, $recursive=true) | |
rmdir ($dir, $recursive=false) | |
pwd () | |
cd ($dir) | |
read ($filename, $dest=null) | |
write ($filename, $src, $mode=null) | |
rm ($filename) | |
mv ($src, $dest) | |
chmod ($filename, $mode) | |
ls ($grep=null) | |
dirsep () |
Definition at line 35 of file Interface.php.
cd | ( | $ | dir | ) |
Change current working directory
Implemented in Varien_Io_File, and Varien_Io_Ftp.
chmod | ( | $ | filename, | |
$ | mode | |||
) |
Chamge mode of a directory or a file
Implemented in Varien_Io_File, and Varien_Io_Ftp.
close | ( | ) |
Close a connection
Implemented in Varien_Io_File, and Varien_Io_Ftp.
dirsep | ( | ) |
Retrieve directory separator in context of io resource
Implemented in Varien_Io_Abstract, and Varien_Io_File.
ls | ( | $ | grep = null |
) |
Get list of cwd subdirectories and files
Implemented in Varien_Io_File, and Varien_Io_Ftp.
mkdir | ( | $ | dir, | |
$ | mode = 0777 , |
|||
$ | recursive = true | |||
) |
Create a directory
Implemented in Varien_Io_File, and Varien_Io_Ftp.
mv | ( | $ | src, | |
$ | dest | |||
) |
Rename or move a directory or a file
Implemented in Varien_Io_File, and Varien_Io_Ftp.
Open a connection
Implemented in Varien_Io_Abstract, Varien_Io_File, and Varien_Io_Ftp.
pwd | ( | ) |
Get current working directory
Implemented in Varien_Io_File, and Varien_Io_Ftp.
read | ( | $ | filename, | |
$ | dest = null | |||
) |
Read a file
Implemented in Varien_Io_File, and Varien_Io_Ftp.
rm | ( | $ | filename | ) |
Delete a file
Implemented in Varien_Io_File, and Varien_Io_Ftp.
rmdir | ( | $ | dir, | |
$ | recursive = false | |||
) |
Delete a directory
Implemented in Varien_Io_File, and Varien_Io_Ftp.
write | ( | $ | filename, | |
$ | src, | |||
$ | mode = null | |||
) |
Write a file
Implemented in Varien_Io_File, and Varien_Io_Ftp.