public function checkIfExists($resourceUri) {
        //Break up the uri on the slashes
        $nodes = preg_split('/(\\\|\\/)/', $resourceUri, -1, PREG_SPLIT_NO_EMPTY);

        //foreach node
        $ptr = &$this->config;
        foreach($nodes as $node) {
            if (!isset($ptr[$node])) {
                return false;
            }
        }

        return true;
    }
public function checkIfExists($resourceUri) {
        //Break up the uri on the slashes
        $nodes = preg_split('/(\\\|\\/)/', $resourceUri, -1, PREG_SPLIT_NO_EMPTY);

        //foreach node
        $ptr = &$this->config;
        foreach($nodes as $node) {
            if (!isset($ptr[$node])) {
                return false;
            }
        }

        return true;
    }
public function checkIfExists ( $ resourceUri ) { //Break up the uri on the slashes $ nodes = preg_split ( '/(\\\|\\/)/' , $ resourceUri , - 1 , PREG_SPLIT_NO_EMPTY ) ; //foreach node $ ptr = & $ this -> config ; foreach ( $ nodes as $ node ) { if ( ! isset ( $ ptr [ $ node ] ) ) { return false ; } } return true ; }
Checks whether a requested node currently exists in the security configuration

@param  string  $resourceUri The resource uri to check

@return boolean              Whether the resource uri currently has a node in the configuration
Checks whether a requested node currently exists in the security configuration