File

  • Namespace: Redaxscript\Filesystem
  • Description: children class to handle a file in the filesystem
  • Package: Redaxscript
  • Category: Filesystem
  • Author: Henry Ruhs
  • Inherited from: \Redaxscript\Filesystem\Filesystem

Properties

PropertyTypeVisibilityDescription
$_rootstringprotectedvalue of the root
$_recursivebooleanprotectedrecursive flag
$_filterArrayarrayprotectedarray to be filtered
$_iteratorobjectprotectediterator of the filesystem
PropertyTypeVisibilityDescription

Methods

MethodVisibilityDescription
createFilepubliccreate the file
readFilepublicread content of file
renderFilepublicrender content of file
writeFilepublicwrite content to file
removeFilepublicremove the file
initpublicinit the class
getIteratorpublicget the filesystem iterator
getArraypublicget the filesystem array
getSortArraypublicget the sorted filesystem array
updateIteratorpublicupdate the filesystem iterator
_filterIteratorprotectedfilter the filesystem iterator
_validateItemprotectedvalidate the filesystem item
_scanprotectedscan the filesystem
MethodVisibilityDescription