PHP Classes

Packages of Juliette Reinders Folmer

Recommend this page to a friend!
  All class groups  >  All authors  >  Packages of Juliette Reinders Folmer (2)  >  Mission progress status  >  Reputation  
Picture of Juliette Reinders Folmer
Name: Juliette Reinders Folmer <contact>
Classes: 2
Country: The Netherlands The Netherlands
Age: 52
All time rank: 54914 in The Netherlands The Netherlands
Week rank: 195 Up4 in The Netherlands The Netherlands Up
All time users: 5435
Week users: 0
 
  A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z  
  Files folder image Directory and file info  
Retrieve information about files and directories
This class can be used to retrieve information about files and directories.

It can:

- Retrieve an array with the list files in a given directory with several details like the file names, file sizes, last access date, last modified date, etc.
- Optionally traverse the given directory recursively to list files contained in sub-directories
- Filter the listing by file name extension, MIME type, last modified and last accessed dates.
- Filter a listing with additional criteria to create a more restricted listing
- Sort the retrieved listing
- Determine the most recently changed file
- Calculate the size of the files in a given directory listing
- Retrieve the size, last modified and last access data, permissions, owner and MIME type of a file in in a human readable format

  Files folder image Script timer  
Measure the time a script takes to execute
This class can be used to measure the time a script takes to execute.

It can take note of the time it takes reach each part of a script takes to run and displays the results in a HTML table, so it can be used to analyse which parts of the script may need optimization.

It features:

* Add time markers recorded before class instantiation
* Temporarily pause the timer
* Group markers by script
* Optionally add subtotals per script (group)
* Uses PHP bcmath functions if possible for better accuracy
* Adjustable precision for the calculations
* Adjustable precision for the output
* Provides the following measurements:
- run time for the marker (excluding processing by this class)
- run time for the marker as a percentage of the total run time
- cumulative run time up to the marker
- cumulative percentage
* Customizable presentation of the results returning:
- a bi-dimensional array for custom external result processing
- an HTML string for use with a template system
- HTML for presentation to the user without further processing
* The details of presentation of the results can be customized with CSS


  A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z