Overview

Namespaces

  • Coast
    • App
      • Access
      • Executable
    • Controller
    • Csrf
    • Dir
    • Feed
    • File
    • Filter
      • Rule
    • Http
    • Image
    • Model
      • Exception
    • Resolver
    • Router
    • Sitemap
    • Transformer
      • Rule
    • Validator
      • Rule
    • View

Classes

  • Acl
  • App
  • Coast
  • Collection
  • Config
  • Controller
  • Csp
  • Csrf
  • Dir
  • Feed
  • File
  • Filter
  • Http
  • Image
  • Lazy
  • Model
  • Path
  • Request
  • Resolver
  • Response
  • Router
  • Session
  • Sitemap
  • Transformer
  • Url
  • Validator
  • View
  • Xml

Exceptions

  • Exception
  • Overview
  • Namespace
  • Class
  • Deprecated
  • Todo

Class Dir

Path object.

Coast\Path
Extended by Coast\File\Path
Extended by Coast\Dir implements IteratorAggregate
Namespace: Coast
Located at Dir.php
Methods summary
public static
# createTemp( )
public
# __construct( string $path, $create = false )

Constructs a new path object.

Constructs a new path object.

Parameters

$path
$name Full path name.
$create

Overrides

Coast\Path::__construct()
public
# iterator( $flags = null, $recursive = false, $mode = null )
public
# create( )
public
# copy( Coast\Dir $dir, $baseName = null, $recursive = false )
public
# remove( $recursive = false )
public
# permissions( $mode = null, $recursive = false )

Overrides

Coast\File\Path::permissions()
public
# size( $recursive = false )
public
# file( $path )
public
# dir( $path, $create = false )
public
# getIterator( )

Implementation of

IteratorAggregate::getIterator()
Methods inherited from Coast\File\Path
_parseBaseName(), accessTime(), changeTime(), exists(), isDir(), isExist(), isFile(), isReadable(), isWritable(), modifyTime(), move(), rename()
Methods inherited from Coast\Path
__toString(), baseName(), child(), dirName(), extName(), extNameDot(), fileName(), fileNameDot(), isAbsolute(), isRelative(), isWithin(), name(), parent(), part(), parts(), prefix(), suffix(), toAbsolute(), toDir(), toFile(), toReal(), toRelative()
Constants inherited from Coast\Path
PART_FIRST, PART_LAST
Properties inherited from Coast\Path
$_name
Coast API Documentation API documentation generated by ApiGen