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

        //foreach node, check if it currently exits, else create it
        $ptr = &$this->config;
        foreach($nodes as $node) {
            if (!isset($ptr[$node])) {
                $ptr[$node] = array('_roles' => $roles);
            }
            $ptr = &$ptr[$node];
        }
    }
protected function createNode($resourceUri, $roles) {
        //Break up the uri on the slashes
        $nodes = preg_split('/(\\\|\\/)/', $resourceUri, -1, PREG_SPLIT_NO_EMPTY);

        //foreach node, check if it currently exits, else create it
        $ptr = &$this->config;
        foreach($nodes as $node) {
            if (!isset($ptr[$node])) {
                $ptr[$node] = array('_roles' => $roles);
            }
            $ptr = &$ptr[$node];
        }
    }
protected function createNode ( $ resourceUri , $ roles ) { //Break up the uri on the slashes $ nodes = preg_split ( '/(\\\|\\/)/' , $ resourceUri , - 1 , PREG_SPLIT_NO_EMPTY ) ; //foreach node, check if it currently exits, else create it $ ptr = & $ this -> config ; foreach ( $ nodes as $ node ) { if ( ! isset ( $ ptr [ $ node ] ) ) { $ ptr [ $ node ] = array ( '_roles' => $ roles ) ; } $ ptr = & $ ptr [ $ node ] ; } }
Creates a node in the configuration

@param  string $resourceUri The uri of the resource on the report server to create a security configuration setting for
@param  array  $roles       The array of roles that will be allowed to view this resource
Creates a node in the configuration