Cache
- Namespace: \Redaxscript\Filesystem
- Description: parent class to handle cached files
- Category: Filesystem
- Package: Redaxscript
- Author: Henry Ruhs
Properties
Property | Type | Visibility | Description |
---|---|---|---|
_directory | protected | ||
_extension | protected | ||
Property | Type | Visibility | Description |
Methods
Method | Visibility | Description |
---|---|---|
init | public | init the class |
getPath | public | get the path |
store | public | store to cache |
retrieve | public | retrieve from cache |
validate | public | validate the cache |
clear | public | clear the cache |
clearInvalid | public | clear the invalid cache |
_getFile | protected | get the file |
_validateFile | protected | validate the file |
Method | Visibility | Description |
Directory
- Namespace: \Redaxscript\Filesystem
- Description: children class to handle a directory in the filesystem
- Category: Filesystem
- Package: Redaxscript
- Author: Henry Ruhs
Properties
Property | Type | Visibility | Description |
---|---|---|---|
No property present | |||
Property | Type | Visibility | Description |
Methods
Method | Visibility | Description |
---|---|---|
createDirectory | public | create the directory |
removeDirectory | public | remove the directory |
clearDirectory | public | clear the directory |
_remove | protected | remove the directory |
createFile | public | create the file |
readFile | public | read content of file |
renderFile | public | render content of file |
writeFile | public | write content to file |
removeFile | public | remove the file |
init | public | init the class |
copy | public | copy the filesystem |
countIterator | public | count the filesystem iterator |
getIterator | public | get the filesystem iterator |
refreshIterator | public | refresh the filesystem iterator |
getArray | public | get the filesystem array |
getSortArray | public | get the sorted filesystem array |
_filterIterator | protected | filter the filesystem iterator |
_validateItem | protected | validate the filesystem item |
_scan | protected | scan the filesystem |
Method | Visibility | Description |
File
- Namespace: \Redaxscript\Filesystem
- Description: children class to handle a file in the filesystem
- Package: Redaxscript
- Category: Filesystem
- Author: Henry Ruhs
Properties
Property | Type | Visibility | Description |
---|---|---|---|
No property present | |||
Property | Type | Visibility | Description |
Methods
Method | Visibility | Description |
---|---|---|
createFile | public | create the file |
readFile | public | read content of file |
renderFile | public | render content of file |
writeFile | public | write content to file |
removeFile | public | remove the file |
init | public | init the class |
copy | public | copy the filesystem |
countIterator | public | count the filesystem iterator |
getIterator | public | get the filesystem iterator |
refreshIterator | public | refresh the filesystem iterator |
getArray | public | get the filesystem array |
getSortArray | public | get the sorted filesystem array |
_filterIterator | protected | filter the filesystem iterator |
_validateItem | protected | validate the filesystem item |
_scan | protected | scan the filesystem |
Method | Visibility | Description |
Filesystem
- Namespace: \Redaxscript\Filesystem
- Description: parent class to handle the filesystem
- Package: Redaxscript
- Category: Filesystem
- Author: Henry Ruhs
Properties
Property | Type | Visibility | Description |
---|---|---|---|
_root | protected | ||
_recursive | protected | ||
_filterArray | protected | ||
_iterator | protected | ||
Property | Type | Visibility | Description |
Methods
Method | Visibility | Description |
---|---|---|
init | public | init the class |
copy | public | copy the filesystem |
countIterator | public | count the filesystem iterator |
getIterator | public | get the filesystem iterator |
refreshIterator | public | refresh the filesystem iterator |
getArray | public | get the filesystem array |
getSortArray | public | get the sorted filesystem array |
_filterIterator | protected | filter the filesystem iterator |
_validateItem | protected | validate the filesystem item |
_scan | protected | scan the filesystem |
Method | Visibility | Description |