public function getChildren($path) {
		if (strlen($path) > 1 && preg_match('@/$@', $path)) {
			// remove trailing /
			$path = substr($path, 0, -1);
		}
		return $this->zookeeper->getChildren($path);
	}
public function getChildren($path) {
		if (strlen($path) > 1 && preg_match('@/$@', $path)) {
			// remove trailing /
			$path = substr($path, 0, -1);
		}
		return $this->zookeeper->getChildren($path);
	}
public function getChildren ( $ path ) { if ( strlen ( $ path ) > 1 && preg_match ( '@/$@' , $ path ) ) { // remove trailing / $ path = substr ( $ path , 0 , - 1 ) ; } return $ this -> zookeeper -> getChildren ( $ path ) ; }
List the children of the given path, i.e. the name of the directories
within the current node, if any

@param string $path the path to the node

@return array the subpaths within the given node
List the children of the given path i . e . the name of the directories within the current node if any