You are here

class DotDirectory in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/mikey179/vfsStream/src/main/php/org/bovigo/vfs/DotDirectory.php \org\bovigo\vfs\DotDirectory

Directory container.

Hierarchy

Expanded class hierarchy of DotDirectory

File

vendor/mikey179/vfsStream/src/main/php/org/bovigo/vfs/DotDirectory.php, line 14

Namespace

org\bovigo\vfs
View source
class DotDirectory extends vfsStreamDirectory {

  /**
   * returns iterator for the children
   *
   * @return  vfsStreamContainerIterator
   */
  public function getIterator() {
    return new \ArrayIterator(array());
  }

  /**
   * checks whether dir is a dot dir
   *
   * @return  bool
   */
  public function isDot() {
    return true;
  }

}

Members

Namesort descending Modifiers Type Description Overrides
DotDirectory::getIterator public function returns iterator for the children Overrides vfsStreamDirectory::getIterator
DotDirectory::isDot public function checks whether dir is a dot dir Overrides vfsStreamDirectory::isDot
vfsStreamAbstractContent::$group protected property owner group of the file
vfsStreamAbstractContent::$lastAccessed protected property timestamp of last access
vfsStreamAbstractContent::$lastAttributeModified protected property timestamp of last attribute modification
vfsStreamAbstractContent::$lastModified protected property timestamp of last modification
vfsStreamAbstractContent::$name protected property name of the container
vfsStreamAbstractContent::$parentPath private property path to to this content
vfsStreamAbstractContent::$permissions protected property permissions for content
vfsStreamAbstractContent::$type protected property type of the container
vfsStreamAbstractContent::$user protected property owner of the file
vfsStreamAbstractContent::appliesTo public function checks whether the container can be applied to given name Overrides vfsStreamContent::appliesTo 1
vfsStreamAbstractContent::at public function adds content to given container Overrides vfsStreamContent::at
vfsStreamAbstractContent::chgrp public function change owner group of file to given group Overrides vfsStreamContent::chgrp
vfsStreamAbstractContent::chmod public function change file mode to given permissions Overrides vfsStreamContent::chmod
vfsStreamAbstractContent::chown public function change owner of file to given user Overrides vfsStreamContent::chown
vfsStreamAbstractContent::fileatime public function returns the last access time of the stream content
vfsStreamAbstractContent::filectime public function returns the last attribute modification time of the stream content
vfsStreamAbstractContent::filemtime public function returns the last modification time of the stream content Overrides vfsStreamContent::filemtime
vfsStreamAbstractContent::getGroup public function returns owner group of file Overrides vfsStreamContent::getGroup
vfsStreamAbstractContent::getName public function returns the file name of the content Overrides vfsStreamContent::getName
vfsStreamAbstractContent::getPermissions public function returns permissions Overrides vfsStreamContent::getPermissions
vfsStreamAbstractContent::getType public function returns the type of the container Overrides vfsStreamContent::getType
vfsStreamAbstractContent::getUser public function returns owner of file Overrides vfsStreamContent::getUser
vfsStreamAbstractContent::isExecutable public function checks whether content is executable Overrides vfsStreamContent::isExecutable
vfsStreamAbstractContent::isOwnedByGroup public function checks whether file is owned by group Overrides vfsStreamContent::isOwnedByGroup
vfsStreamAbstractContent::isOwnedByUser public function checks whether file is owned by given user Overrides vfsStreamContent::isOwnedByUser
vfsStreamAbstractContent::isReadable public function checks whether content is readable Overrides vfsStreamContent::isReadable
vfsStreamAbstractContent::isWritable public function checks whether content is writable Overrides vfsStreamContent::isWritable
vfsStreamAbstractContent::lastAccessed public function sets last access time of the stream content
vfsStreamAbstractContent::lastAttributeModified public function sets the last attribute modification time of the stream content
vfsStreamAbstractContent::lastModified public function sets the last modification time of the stream content Overrides vfsStreamContent::lastModified
vfsStreamAbstractContent::path public function returns path to this content Overrides vfsStreamContent::path
vfsStreamAbstractContent::url public function returns complete vfsStream url for this content Overrides vfsStreamContent::url
vfsStreamContent::TYPE_BLOCK constant stream content type: block
vfsStreamContent::TYPE_DIR constant stream content type: directory
vfsStreamContent::TYPE_FILE constant stream content type: file
vfsStreamDirectory::$children protected property list of directory children
vfsStreamDirectory::addChild public function adds child to the directory Overrides vfsStreamContainer::addChild
vfsStreamDirectory::getChild public function returns the child with the given name Overrides vfsStreamContainer::getChild
vfsStreamDirectory::getChildName protected static function helper method to calculate the child name
vfsStreamDirectory::getChildren public function returns a list of children for this directory Overrides vfsStreamContainer::getChildren
vfsStreamDirectory::getDefaultPermissions protected function returns default permissions for concrete implementation Overrides vfsStreamAbstractContent::getDefaultPermissions
vfsStreamDirectory::getRealChildName protected function helper method to detect the real child name
vfsStreamDirectory::hasChild public function checks whether the container contains a child with the given name Overrides vfsStreamContainer::hasChild
vfsStreamDirectory::hasChildren public function checks whether directory contains any children Overrides vfsStreamContainer::hasChildren
vfsStreamDirectory::removeChild public function removes child from the directory Overrides vfsStreamContainer::removeChild
vfsStreamDirectory::rename public function renames the content Overrides vfsStreamAbstractContent::rename
vfsStreamDirectory::setParentPath public function sets parent path Overrides vfsStreamAbstractContent::setParentPath
vfsStreamDirectory::size public function returns size of directory Overrides vfsStreamContent::size
vfsStreamDirectory::sizeSummarized public function returns summarized size of directory and its children
vfsStreamDirectory::updateModifications protected function updates internal timestamps
vfsStreamDirectory::__construct public function constructor Overrides vfsStreamAbstractContent::__construct