PHP Classes

Packages of Mauro Junior

Recommend this page to a friend!
  All class groups  >  All authors  >  Packages of Mauro Junior (2)  >  Mission progress status  >  Reputation  
Picture of Mauro Junior
Name: Mauro Junior <contact>
Classes: 2
Country: Brazil Brazil
Age: 33
All time rank: 4442359 in Brazil Brazil
Week rank: 195 Up14 in Brazil Brazil Up
All time users: 84
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 PHP Router Class  
Call a function when the request matches a pattern
This class can call a function when the request matches a pattern.

It can register regular expressions to match the current HTTP request URI.

The class can associate each regular expression to a given callback function.

It can also check if any of the registered regular expressions. The first regular expression that matches the URL of the current HTTP request will make the class call the associated callback function.

  Files folder image Vourto  
Validate request values of different types
This package can validate request values of different types.

It can take an array of GET or POST request values and validates it according to given types and accepted value formats.

It can check the values maximum and minimum length, matching a pattern, and type.

If all values are valid, a given callback function is called.


  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