Folder

Type
Class
Namespace
Craft
Inherits
Craft\Folder » Craft\BaseIO
Since
1.0

Class Folder

See also http://craftcms.com

View source

Protected Properties

PropertyDescription
$pathstring

Public Methods

__construct()

View source

Arguments

  • $path

Returns

Craft\Folder

Signature

public Craft\Folder __construct ( $path )

clear()

View source

Arguments

Returns

boolean

Signature

public boolean clear ( $suppressErrors = false )

copy()

View source

Arguments

  • $destination

Returns

boolean

Signature

public boolean copy ( $destination )

delete()

Signature

public boolean delete ( )

getContents()

View source

Arguments

  • $recursive
  • $filter

Returns

mixed

Signature

public mixed getContents ( $recursive, $filter )

getSize()

View source

Returns

mixed

Signature

public mixed getSize ( )

isEmpty()

Signature

public boolean isEmpty ( )