Login   Register  
PHP Classes

Router Class: Extract actions defined by URL patterns

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2011-12-04 (3 years ago) RSS 2.0 feedNot enough user ratingsTotal: 1,141 All time: 3,065 This week: 1,188Up
Version License PHP version Categories  
router-class 1.0Freeware5.0HTTP, PHP 5
Description Author  

This class can extract actions defined by URL patterns.

It parses a configuration XML file that defines URL patterns and associated route actions.

The main class compares the current request URI with the configured patterns and returns the matched route action name.

Picture of Orkhan
Name: Orkhan <contact>
Classes: 2 packages by
Country: Azerbaijan Azerbaijan
Age: 23
All time rank: 14683 in Azerbaijan Azerbaijan
Week rank: 1580 Down3 in Azerbaijan Azerbaijan Equal

  Files folder image Files  
File Role Description
Accessible without login Plain text file .htaccess Conf. htaccess file
Plain text file config.class.php Class Config Class
Accessible without login Plain text file example.php Example Example
Plain text file router.class.php Class Main Class (Router)
Accessible without login Plain text file web.config.xml Data Routes Config File (XML)

 Version Control Unique User Downloads Download Rankings  
 0%Total:1,141All time:3,065
 This week:0This week:1,188Up
 User Comments (1)  
This is useful class.
3 years ago (Zulfugar Ismayilzadeh)