Open Data Catalog v2.0.0
IFileHelper.php
Go to the documentation of this file.
1 <?php
2 
4 
8 interface IFileHelper {
9 
13  public function getRealPath($path);
14 
21  public function fileGetContents($path);
22 
26  public function filePutContents($path, $content);
27 
31  public function prepareDir(&$directory, $options = FILE_CREATE_DIRECTORY);
32 
36  public function retrieveFile($url, $destination = NULL, $managed = FALSE);
37 
41  public function fileCreate($uri);
42 
46  public function fileDelete($uri);
47 
51  public function fileGlob($pattern, $flags = 0);
52 
56  public function defaultSchemeDirectory();
57 
58 }
Drupal\dkan_harvest\Load\IFileHelper\fileDelete
fileDelete($uri)
Drupal\dkan_harvest\Load\IFileHelper\fileGetContents
fileGetContents($path)
Drupal\dkan_harvest\Load
Definition: Dataset.php:3
Drupal\dkan_harvest\Load\IFileHelper\retrieveFile
retrieveFile($url, $destination=NULL, $managed=FALSE)
Drupal\dkan_harvest\Load\IFileHelper\getRealPath
getRealPath($path)
Drupal\dkan_harvest\Load\IFileHelper\filePutContents
filePutContents($path, $content)
Drupal\dkan_harvest\Load\IFileHelper\defaultSchemeDirectory
defaultSchemeDirectory()
Drupal\dkan_harvest\Load\IFileHelper\fileCreate
fileCreate($uri)
Drupal\dkan_harvest\Load\IFileHelper\fileGlob
fileGlob($pattern, $flags=0)
Drupal\dkan_harvest\Load\IFileHelper
Definition: IFileHelper.php:8
Drupal\dkan_harvest\Load\IFileHelper\prepareDir
prepareDir(&$directory, $options=FILE_CREATE_DIRECTORY)