private function getPath($action, $method, $args)
    {
        //first get the key
        $key = $this->getKey($action, $method, '/');

        //add a trailing seperator
        $path = '/' . $key;

        //if there are paths
        if (!empty($this->paths)) {
            //prefix the paths to the path
            $path = '/' . implode('/', $this->paths) . $path;
        }

        //if there are arguments
        if (!empty($args)) {
            //add that too
            $path .= '/' . implode('/', $args);
        }

        return str_replace('//', '/', $path);
    }
private function getPath($action, $method, $args)
    {
        //first get the key
        $key = $this->getKey($action, $method, '/');

        //add a trailing seperator
        $path = '/' . $key;

        //if there are paths
        if (!empty($this->paths)) {
            //prefix the paths to the path
            $path = '/' . implode('/', $this->paths) . $path;
        }

        //if there are arguments
        if (!empty($args)) {
            //add that too
            $path .= '/' . implode('/', $args);
        }

        return str_replace('//', '/', $path);
    }
private function getPath ( $ action , $ method , $ args ) { //first get the key $ key = $ this -> getKey ( $ action , $ method , '/' ) ; //add a trailing seperator $ path = '/' . $ key ; //if there are paths if ( ! empty ( $ this -> paths ) ) { //prefix the paths to the path $ path = '/' . implode ( '/' , $ this -> paths ) . $ path ; } //if there are arguments if ( ! empty ( $ args ) ) { //add that too $ path .= '/' . implode ( '/' , $ args ) ; } return str_replace ( '//' , '/' , $ path ) ; }
Returns the compiled path

@param string $action
@param string $method
@param array  $args

@return string
Returns the compiled path