lib/ezfile/classes/ezdir.php

Show: inherited
Table of Contents

File containing the eZDir class.

Copyright
Copyright (C) 1999-2011 eZ Systems AS. All rights reserved.  
License
eZ Business Use License Agreement Version 2.0  
Package
lib  
Version
4.6.0  

\eZDir

Package: lib

File containing the eZDir class.

Copyright
Copyright (C) 1999-2011 eZ Systems AS. All rights reserved.  
License
eZ Business Use License Agreement Version 2.0  
Version
4.6.0  

Constants

Constant  SEPARATOR_LOCAL = 1
Constant  SEPARATOR_UNIX = 2
Constant  SEPARATOR_DOS = 3

Methods

methodpubliccleanPath(  $path,  $toType = self::SEPARATOR_UNIX ) : void
static

Parameters
Name Type Description
$path
$toType
methodpubliccleanupEmptyDirectories(  $dir ) : void
static

Parameters
Name Type Description
$dir
methodpublicconvertSeparators(  $path,  $toType = self::SEPARATOR_UNIX ) : void
static

Parameters
Name Type Description
$path
$toType
methodpubliccopy(  $sourceDirectory,  $destinationDirectory,  $asChild = true,  $recursive = true,  $includeHidden = false,  $excludeItems = false ) : void
static

Parameters
Name Type Description
$sourceDirectory
$destinationDirectory
$asChild
$recursive
$includeHidden
$excludeItems
methodpubliccreateMultiLevelPath(  $key,  $maxDepth = -1 ) : void
static

Parameters
Name Type Description
$key
$maxDepth
methodpublicdirectoryPermission( ) : void
static

methodpublicdirpath(  $filepath ) : void
static

Parameters
Name Type Description
$filepath
methodpublicdoMkdir(  $dir,  $perm,  $recursive = false ) : void
static

Parameters
Name Type Description
$dir
$perm
$recursive
methodpublicfilenamePath(  $filename,  $maxCharLen = 2 ) : void
static

Parameters
Name Type Description
$filename
$maxCharLen
methodpublicfindSubdirs(  $dir,  $includeHidden = false,  $excludeItems = false ) : void
static

Parameters
Name Type Description
$dir
$includeHidden
$excludeItems
methodpublicfindSubitems(  $dir,  $types = false,  $fullPath = false,  $includeHidden = false,  $excludeItems = false ) : void
static

Parameters
Name Type Description
$dir
$types
$fullPath
$includeHidden
$excludeItems
methodpublicgetPathFromFilename(  $filename ) : void
static

Parameters
Name Type Description
$filename
methodpublicisWriteable(  $dirname ) : void
static

Parameters
Name Type Description
$dirname
methodpublicmkdir(  $dir,  $perm = false,  $recursive = false ) : void
static

Parameters
Name Type Description
$dir
$perm
$recursive
methodpublicpath(  $names,  $includeEndSeparator = false,  $type = self::SEPARATOR_UNIX ) : void
static

Parameters
Name Type Description
$names
$includeEndSeparator
$type
methodpublicrecursiveDelete( string $dir, bool $rootCheck = true ) : bool
static

Removes a directory and all it's contents, recursively.

Parameters
Name Type Description
$dir string

Directory to remove

$rootCheck bool

Check whether $dir is supposed to be contained in eZ Publish root directory

Returns
Type Description
bool True if the operation succeeded, false otherwise
methodpublicrecursiveFind(  $dir,  $suffix ) : void
static

Parameters
Name Type Description
$dir
$suffix
methodpublicrecursiveFindRelative(  $baseDir,  $subDir,  $suffix ) : void
static

Parameters
Name Type Description
$baseDir
$subDir
$suffix
methodpublicrecursiveList(  $dir,  $path,  $fileList ) : void
static

Parameters
Name Type Description
$dir
$path
$fileList
methodpublicseparator(  $type ) : void
static

Parameters
Name Type Description
$type
methodpublictemporaryFileRegexp(  $standalone = true ) : void
static

Parameters
Name Type Description
$standalone
methodpublicunlinkWildcard(  $dir,  $pattern ) : void
static

Parameters
Name Type Description
$dir
$pattern
Documentation was generated by DocBlox 0.18.1.