router class added
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
class router {
|
||||
/*
|
||||
* @the registry
|
||||
*/
|
||||
private $registry;
|
||||
|
||||
/*
|
||||
* @the controller path
|
||||
*/
|
||||
private $path;
|
||||
|
||||
private $args = array();
|
||||
|
||||
public $file;
|
||||
|
||||
public $controller;
|
||||
|
||||
public $action;
|
||||
|
||||
function __construct($registry) {
|
||||
$this->registry = $registry;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user