REDROOM
PHP 8.2.30
Path:
Logout
Edit File
Size: 1.70 KB
Close
/proc/self/root/proc/thread-self/root/opt/cloudlinux/alt-php53/root/usr/share/pear/data/File/design/design.txt
Text
Base64
eZ component: File, Design ~~~~~~~~~~~~~~~~~~~~~~~~~~ :Author: Derick Rethans :Revision: $Revision: 7003 $ :Date: $Date: 2007-12-17 10:05:16 +0100 (Mon, 17 Dec 2007) $ Design Description ================== The component uses the register_shutdown_function() and set_execution_handler() to allow the catching of fatal errors and uncatched exceptions. At the start of the script you need to initialize the execution environment and when your application is done executing you signal the component that you have a "clean exit". In case there was not a clean exit the shutdown handler will pick up and call your defined callback handler to display the error message. There is one classes in this component: ezcFile ------- Contains a static method that allows you to scan through a directory recursively and include only the files that match the specified pattern. A pattern consists of an array of regular expressions which all need to match with the filename before it is returned in the array of scanned files. Algorithms ========== The ezcFile::findRecursive() method accepts a directory name and a set of filters. The algorithm is recursive in the following way: :: method findRecursive ( directory, filters ) foreach file in directory: if file is a directory: files_in_subdir = findRecursive( file, filters ) files += files_in_subdir else: include = true foreach filters as filter: if !match filter on file: include = false break if include: files += file return files .. Local Variables: mode: rst fill-column: 79 End: vim: et syn=rst tw=79
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 6
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
class_diagram.png
478 B
lrw-r--r--
2019-12-18 11:15:10
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
design.txt
1.70 KB
lrw-r--r--
2019-12-18 11:15:10
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
file.xml
91.89 KB
lrw-r--r--
2019-12-18 11:15:10
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
file_operations.png
4.56 KB
lrw-r--r--
2019-12-18 11:15:10
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
md5.png
12.20 KB
lrw-r--r--
2019-12-18 11:15:10
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
requirements.txt
800 B
lrw-r--r--
2019-12-18 11:15:10
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).