Overview

Namespaces

  • Budovy
  • Kdyby
    • BootstrapFormRenderer
      • DI
      • Latte
  • Nette
    • Application
      • Diagnostics
      • Responses
      • Routers
      • UI
    • Caching
      • Storages
    • ComponentModel
    • Database
      • Diagnostics
      • Drivers
      • Reflection
      • Table
    • DI
      • Config
        • Adapters
      • Diagnostics
      • Extensions
    • Diagnostics
    • Forms
      • Controls
      • Rendering
    • Http
      • Diagnostics
    • Iterators
    • Latte
      • Macros
    • Loaders
    • Localization
    • Mail
    • PhpGenerator
    • Reflection
    • Security
      • Diagnostics
    • Templating
    • Utils
  • NetteModule
  • Nextras
    • Datagrid
  • None
  • PHP
  • Tester
    • CodeCoverage
    • Runner
      • Output
  • Vodacek
    • Forms
      • Controls
  • WebLoader
    • Filter
    • Nette

Classes

  • Arrays
  • Callback
  • FileSystem
  • Finder
  • Html
  • Json
  • LimitedScope
  • MimeTypeDetector
  • Neon
  • NeonEntity
  • Paginator
  • Strings
  • Validators

Exceptions

  • AssertionException
  • JsonException
  • NeonException
  • RegexpException
  • TokenizerException
  • Overview
  • Namespace
  • Class
  • Tree

Class FileSystem

File system tool.

Namespace: Nette\Utils
Author: David Grudl
Located at vendor/nette/nette/Nette/Utils/FileSystem.php
Methods summary
public static
# createDir( mixed $dir, mixed $mode = 0777 )

Creates a directory.

Creates a directory.

public static
# copy( mixed $source, mixed $dest, mixed $overwrite = TRUE )

Copies a file or directory.

Copies a file or directory.

public static
# delete( mixed $path )

Deletes a file or directory.

Deletes a file or directory.

public static
# rename( mixed $name, mixed $newName, mixed $overwrite = TRUE )

Renames a file or directory.

Renames a file or directory.

public static boolean
# write( mixed $file, mixed $content, mixed $mode = 0666 )

Writes a string to a file.

Writes a string to a file.

Returns

boolean
public static boolean
# isAbsolute( mixed $path )

Is path absolute?

Is path absolute?

Returns

boolean
API documentation generated by ApiGen 2.8.0