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
 /**
  */
 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