public function getPaths($access = 'rw') {
		$paths = [];
		foreach($this->paths as $p) {
			if($p['access'] === $access) {
				array_push($paths, $p);
			}
		}
		return $paths;
	}
public function getPaths($access = 'rw') {
		$paths = [];
		foreach($this->paths as $p) {
			if($p['access'] === $access) {
				array_push($paths, $p);
			}
		}
		return $paths;
	}
public function getPaths ( $ access = 'rw' ) { $ paths = [ ] ; foreach ( $ this -> paths as $ p ) { if ( $ p [ 'access' ] === $ access ) { array_push ( $ paths , $ p ) ; } } return $ paths ; }
returns all paths matching access criteria

@param string $access
@return paths
returns all paths matching access criteria