Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-header.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-header.php on line 8

FileUtil Class Reference

Static Public Member Functions

static getFilesFromDir ($dir, $basePath, $beginAliasPath, $includeTests=false)
static getNonWriteableFilesOrFolders ($directory, &$nonWritableItems=array())
static copyRecursive ($source, $target)
static deleteDirectoryRecursive ($directory, $removeDirectoryItself=true, $filesOrFoldersToSkip=array())

Detailed Description

Helper functionality for manipulation files.

Definition at line 40 of file FileUtil.php.


Member Function Documentation

static getFilesFromDir ( dir,
basePath,
beginAliasPath,
includeTests = false 
) [static]

Get files from directory, to be imported using Yii::import function For WebApplication, we don't want to include files from test folders.

Parameters:
string $dir
string $basePath
string $beginAliasPath
boolean $includeTests
Returns:
array

Definition at line 51 of file FileUtil.php.

static getNonWriteableFilesOrFolders ( directory,
&$  nonWritableItems = array() 
) [static]

Get array of files or folders in directory that are not writeable by user.

Parameters:
string $directory

Definition at line 99 of file FileUtil.php.

static copyRecursive ( source,
target 
) [static]

Copy folders and files recursive

Parameters:
string $source
string $target

Definition at line 133 of file FileUtil.php.

static deleteDirectoryRecursive ( directory,
removeDirectoryItself = true,
filesOrFoldersToSkip = array() 
) [static]

Delete folder and all its contents

Parameters:
string $directory
boolean $removeDirectoryItself - Should directory be removed also, or just its content
array $filesOrFoldersToSkip - List of files/folders not to be deleted

Definition at line 167 of file FileUtil.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Wed Jan 23 07:10:24 2019

Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-footer.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-footer.php on line 8