isDot()) { return false; } if (is_link($this->getFilename()) && !($this->flags & self::FOLLOW_SYMLINKS)) { return false; } return $this->isDir(); } // This doc comment block generated by idl/sysdoc.php /** * ( excerpt from * http://php.net/manual/en/recursivedirectoryiterator.getchildren.php ) * * * @return mixed The filename, file information, or $this depending * on the set flags. See the FilesystemIterator * constants. */ public function getChildren() { if ($this->getFlags() & FilesystemIterator::CURRENT_AS_PATHNAME) { return $this->current(); } $child = new self($this->getPathname(), $this->getFlags()); $child->subPath = $this->subPath; if ($child->subPath) { $child->subPath .= DIRECTORY_SEPARATOR; } $child->subPath .= $this->getPathname(); return $child; } // This doc comment block generated by idl/sysdoc.php /** * ( excerpt from * http://php.net/manual/en/recursivedirectoryiterator.getsubpath.php ) * * Gets the sub path. Warning: This function is currently not documented; * only its argument list is available. * * @return mixed The sub path (sub directory). */ public function getSubPath() { return $this->subPath; } // This doc comment block generated by idl/sysdoc.php /** * ( excerpt from * http://php.net/manual/en/recursivedirectoryiterator.getsubpathname.php ) * * Gets the sub path and filename. Warning: This function is currently not * documented; only its argument list is available. * * @return mixed The sub path (sub directory) and filename. */ public function getSubPathname() { return ($this->subPath ? $this->subPath . DIRECTORY_SEPARATOR : '') . $this->getPathname(); } // This doc comment block generated by idl/sysdoc.php /** * ( excerpt from * http://php.net/manual/en/recursivedirectoryiterator.rewind.php ) * * * @return mixed No value is returned. */ public function rewind() { parent::rewind(); if ($this->isDot()) { $this->next(); } } // This doc comment block generated by idl/sysdoc.php /** * ( excerpt from * http://php.net/manual/en/recursivedirectoryiterator.next.php ) * * * @return mixed No value is returned. */ public function next() { do { parent::next(); } while ($this->valid() && $this->isDot()); } }