diff options
author | Georg Ehrke <developer@georgehrke.com> | 2013-07-11 19:03:21 +0200 |
---|---|---|
committer | Georg Ehrke <developer@georgehrke.com> | 2013-07-11 19:03:21 +0200 |
commit | 7b2aa5d830efeea7e68a71ddc33bc6e9add1409d (patch) | |
tree | b9e11064b4d86cbb825ac5997e3700e5c41aadf5 /lib/preview.php | |
parent | 7f3dbb6936cded830cbbf135f887a84ebd50b77c (diff) | |
download | nextcloud-server-7b2aa5d830efeea7e68a71ddc33bc6e9add1409d.tar.gz nextcloud-server-7b2aa5d830efeea7e68a71ddc33bc6e9add1409d.zip |
OC\Preview - use camelCase
Diffstat (limited to 'lib/preview.php')
-rwxr-xr-x | lib/preview.php | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/lib/preview.php b/lib/preview.php index 62bcf4873b5..327a45d8d13 100755 --- a/lib/preview.php +++ b/lib/preview.php @@ -27,9 +27,9 @@ class Preview { const THUMBNAILS_FOLDER = 'thumbnails'; //config - private $max_scale_factor; - private $max_x; - private $max_y; + private $maxScaleFactor; + private $configMaxX; + private $configMaxY; //fileview object private $fileview = null; @@ -61,9 +61,9 @@ class Preview { */ public function __construct($user='', $root='/', $file='', $maxX=1, $maxY=1, $scalingup=true) { //set config - $this->max_x = \OC_Config::getValue('preview_max_x', null); - $this->max_y = \OC_Config::getValue('preview_max_y', null); - $this->max_scale_factor = \OC_Config::getValue('preview_max_scale_factor', 10); + $this->configMaxX = \OC_Config::getValue('preview_max_x', null); + $this->configMaxY = \OC_Config::getValue('preview_max_y', null); + $this->maxScaleFactor = \OC_Config::getValue('preview_max_scale_factor', 10); //save parameters $this->setFile($file); @@ -136,7 +136,7 @@ class Preview { * @return integer */ public function getMaxScaleFactor() { - return $this->max_scale_factor; + return $this->maxScaleFactor; } /** @@ -144,7 +144,7 @@ class Preview { * @return integer */ public function getConfigMaxX() { - return $this->max_x; + return $this->configMaxX; } /** @@ -152,7 +152,7 @@ class Preview { * @return integer */ public function getConfigMaxY() { - return $this->max_y; + return $this->configMaxY; } /** |