public function processRoute()
    {
        foreach ($this->getList() as $pattern => $route) {

            if (isset($route['status']) && empty($route['status'])) {
                continue;
            }

            $arguments = array();

            if (gplcart_path_match($this->path, $pattern, $arguments)) {
                $this->callController($pattern, $arguments);
            }
        }
    }
public function processRoute()
    {
        foreach ($this->getList() as $pattern => $route) {

            if (isset($route['status']) && empty($route['status'])) {
                continue;
            }

            $arguments = array();

            if (gplcart_path_match($this->path, $pattern, $arguments)) {
                $this->callController($pattern, $arguments);
            }
        }
    }
public function processRoute ( ) { foreach ( $ this -> getList ( ) as $ pattern => $ route ) { if ( isset ( $ route [ 'status' ] ) && empty ( $ route [ 'status' ] ) ) { continue ; } $ arguments = array ( ) ; if ( gplcart_path_match ( $ this -> path , $ pattern , $ arguments ) ) { $ this -> callController ( $ pattern , $ arguments ) ; } } }
Find an appropriate controller for the URL
Find an appropriate controller for the URL