From: <var...@us...> - 2015-09-10 16:42:46
|
Revision: 9722 http://sourceforge.net/p/phpwiki/code/9722 Author: vargenau Date: 2015-09-10 16:42:44 +0000 (Thu, 10 Sep 2015) Log Message: ----------- Add public/private Modified Paths: -------------- trunk/lib/FileFinder.php Modified: trunk/lib/FileFinder.php =================================================================== --- trunk/lib/FileFinder.php 2015-09-07 16:35:27 UTC (rev 9721) +++ trunk/lib/FileFinder.php 2015-09-10 16:42:44 UTC (rev 9722) @@ -33,7 +33,7 @@ * @param bool $missing_okay * @return string The filename (including path), if found, otherwise false. */ - function findFile($file, $missing_okay = false) + public function findFile($file, $missing_okay = false) { if ($this->_is_abs($file)) { if (file_exists($file)) @@ -52,7 +52,7 @@ * @param string $path * @return mixed|string */ - function slashifyPath($path) + public function slashifyPath($path) { return $this->forcePathSlashes($path, $this->_pathsep); } @@ -64,7 +64,7 @@ * @param string $sep * @return mixed|string */ - function forcePathSlashes($path, $sep = '/') + public function forcePathSlashes($path, $sep = '/') { if (is_array($path)) { $result = array(); @@ -99,7 +99,7 @@ * @param string $file File to include. * @return bool True if file was successfully included. */ - function includeOnce($file) + public function includeOnce($file) { if (($ret = @include_once($file))) return $ret; @@ -113,7 +113,7 @@ return $this->_not_found($file); } - function _isOtherPathsep() + private function _isOtherPathsep() { return $this->_pathsep != '/'; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |