Lines Matching refs:rootPath
646 $rootPath = $conf['datadir'];
659 return $this->_pages_xhtml_r($path, $rootPath);
665 function _pages_xhtml_r($path, $rootPath) { argument
670 if (is_dir($rootPath.$path)) {
671 if($pdir = opendir($rootPath.$path)) {
677 if (is_file($rootPath.$filePath)) {
685 $nbPages += $this->_pages_xhtml_r($filePath, $rootPath);
873 $rootPath = $conf['datadir'];
892 $pagesSizes = $this->getAllPagesSizes($path, $rootPath, $depthLevel);
957 function getAllPagesSizes($path, $rootPath, $depthLevel) { argument
962 if (is_dir($rootPath.$path)) {
963 if($pdir = opendir($rootPath.$path)) {
969 if (is_file($rootPath.$filePath)) {
988 $pagesSizes[$filens] = filesize($rootPath.$filePath);
991 foreach($this->getAllPagesSizes($filePath, $rootPath, $depthLevel) as $ns => $size) {
1010 $rootPath = $conf['datadir'];
1016 $pagesSizes = $this->getAllPagesSizes($path, $rootPath, 0);