Varien_Io_Interface Interface Reference

Inheritance diagram for Varien_Io_Interface:

Varien_Io_Abstract Varien_Io_File Varien_Io_Ftp Varien_Io_Sftp

List of all members.

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 ()


Detailed Description

Definition at line 35 of file Interface.php.


Member Function Documentation

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 ( array args = array()  ) 

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.


The documentation for this interface was generated from the following file:

Generated on Sat Jul 4 17:25:03 2009 for Magento by  doxygen 1.5.8