[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: design.txt
File is not writable. Editing disabled.
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 Changes
Cancel / Back
Close ×
Server Info
Hostname: server290.web-hosting.com
Server IP: 162.0.232.250
PHP Version: 8.1.34
Server Software: LiteSpeed
System: Linux server290.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64
HDD Total: 93.04 GB
HDD Free: 67.67 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
No
pkexec:
No
git:
Yes
User Info
Username: afiencwd
User ID (UID): 821
Group ID (GID): 802
Script Owner UID: 821
Current Dir Owner: N/A