• API
  • -
  • Redaxscript\Filesystem

Cache

  • Namespace: Redaxscript\Filesystem
  • Description: parent class to handle cached files
  • Category: Filesystem
  • Package: Redaxscript
  • Author: Henry Ruhs

Properties

PropertyTypeVisibilityDescription
$_directorystringprotecteddirectory of the cache
$_extensionstringprotectedextension of the cached files
PropertyTypeVisibilityDescription

Methods

MethodVisibilityDescription
initpublicinit the class
getPathpublicget the path
storepublicstore to cache
retrievepublicretrieve from cache
validatepublicvalidate the cache
clearpublicclear the cache
clearInvalidpublicclear the invalid cache
_getFileprotectedget the file
_validateFileprotectedvalidate the file
MethodVisibilityDescription

Directory

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

Properties

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

Methods

MethodVisibilityDescription
createDirectorypubliccreate the directory
removeDirectorypublicremove the directory
clearDirectorypublicclear the directory
_removeprotectedremove the directory
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

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

Filesystem

  • Namespace: Redaxscript\Filesystem
  • Description: parent class to handle the filesystem
  • Package: Redaxscript
  • Category: Filesystem
  • Author: Henry Ruhs

Properties

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

Methods

MethodVisibilityDescription
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