Horde_Vfs_Base::read PHP 메소드

read() 공개 메소드

Retrieves a file from the VFS.
public read ( string $path, string $name ) : string
$path string The pathname to the file.
$name string The filename to retrieve.
리턴 string The file data.
    public function read($path, $name)
    {
        throw new Horde_Vfs_Exception('Not supported.');
    }

Usage Example

예제 #1
0
파일: Vfs.php 프로젝트: jubinpatel/horde
 /**
  */
 protected function _get($keys)
 {
     $out = array();
     foreach ($keys as $key) {
         try {
             $out[$key] = $this->_vfs->read($this->_params['vfspath'], $key);
         } catch (Horde_Vfs_Exception $e) {
             $out[$key] = false;
         }
     }
     return $out;
 }
All Usage Examples Of Horde_Vfs_Base::read