Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAldo "xoen" Giambelluca <xoen@xoen.org>2010-07-10 21:57:46 +0400
committerAldo "xoen" Giambelluca <xoen@xoen.org>2010-07-10 21:57:46 +0400
commite3a0898a991867665115054fc0c0a0a335764d75 (patch)
tree4316d529a1278801cd5a68b2369c0b360982dd7f /inc/lib_files.php
parent00df2099b576b56bf9d3c25c8e94c1b61c50d928 (diff)
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.
Diffstat (limited to 'inc/lib_files.php')
-rwxr-xr-xinc/lib_files.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/inc/lib_files.php b/inc/lib_files.php
index 8f694536f7a..009de854d3f 100755
--- a/inc/lib_files.php
+++ b/inc/lib_files.php
@@ -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'){