/home1/tichenne/public_html/ncca/noah/modules/route/route.php [ 127 ]
122 */
123 public function get($name)
124 {
125 if(!isset($this->_routes[$name]))
126 {
127 throw new Route_Exception('The requested route does not exist "{route}"',
128 array('{route}' => $name)
129 );
130 }
131
132 return $this->_routes[$name];
-
/home1/tichenne/public_html/ncca/noah/helpers/url.php [ 51 ] » Route->get(arguments)
0string(8) "notfound"46 */ 47 public static function create($name = 'default', $param = array()) 48 { 49 $route = Noah::instance('Route'); 50 $request = Noah::instance('Request'); 51 return $request->getBaseUrl(true).'/index.php/'.$route->get($name)->uri($param); 52 } 53 54 /** 55 * Merges the current GET parameters with an array of new or overloaded parameters and returns the resulting query string. 56 * -
/home1/tichenne/public_html/ncca/web/wwwroot/index.php [ 43 ] » URL::create(arguments)
0string(8) "notfound"38 if(!DEBUGING) 39 { 40 try { 41 Noah::instance('App')->start()->render(); 42 } catch(Exception $e) { 43 header('location:'.url::create('notfound')); 44 } 45 } 46 else 47 { 48 Noah::instance('App')->start()->render();