Using camelCase for function names in 'inc/lib_files.php'

PHP function names is case-insensitive so this change isn't
intrusive but improve readability of the code.
This commit is contained in:
Aldo "xoen" Giambelluca 2010-07-10 19:57:46 +02:00
parent 00df2099b5
commit e3a0898a99
1 changed files with 3 additions and 3 deletions

View File

@ -36,7 +36,7 @@ class OC_FILES {
* @param basedir $basedir
* @param dir $dir
*/
public static function showbrowser($basedir,$dir){
public static function showBrowser($basedir,$dir){
echo '<div id="content"></div>';
}
@ -44,7 +44,7 @@ class OC_FILES {
* get the content of a directory
* @param dir $directory
*/
public static function getdirectorycontent($directory){
public static function getDirectoryContent($directory){
global $CONFIG_DATADIRECTORY;
if(strpos($directory,$CONFIG_DATADIRECTORY)===0){
$directory=substr($directory,strlen($CONFIG_DATADIRECTORY));
@ -202,7 +202,7 @@ class OC_FILES {
* @param file $name
* @param type $type
*/
public static function newfile($dir,$name,$type){
public static function newFile($dir,$name,$type){
if(OC_USER::isLoggedIn()){
$file=$dir.'/'.$name;
if($type=='dir'){