System/Facade/RequestHandler.php
/**
     * checks if a passed path vaiable has been mapped or not
     * @param string $pathVariable
     * @return boolean
     */
checks if a passed path vaiable has been mapped or not
@param string $pathVariable
@return boolean
checks if a passed path vaiable has been mapped or not @param string $pathVariable @return boolean
public function isMapped($pathVariable){
        $pathVariable = ucfirst(strtolower($pathVariable));
        $this->map->rewind();
        while($this->map->valid()){
            $callMap = array_flip($this->map->current());
            $pattern = '/^' . $pathVariable . '$/';
            if(isset($callMap[$pathVariable]) || preg_match($pattern, key($callMap))){
                return TRUE;
            }
            $this->map->next();
        }
        return FALSE;
    }
public function isMapped ( $ pathVariable ) { $ pathVariable = ucfirst ( strtolower ( $ pathVariable ) ) ; $ this -> map -> rewind ( ) ; while ( $ this -> map -> valid ( ) ) { $ callMap = array_flip ( $ this -> map -> current ( ) ) ; $ pattern = '/^' . $ pathVariable . '$/' ; if ( isset ( $ callMap [ $ pathVariable ] ) || preg_match ( $ pattern , key ( $ callMap ) ) ) { return TRUE ; } $ this -> map -> next ( ) ; } return FALSE ; }
checks if a passed path vaiable has been mapped or not
 @param string $pathVariable
 @return boolean
checks if a passed path vaiable has been mapped or not @param string $pathVariable @return boolean