@@ -200,7 +200,6 @@ |
||
200 | 200 | |
201 | 201 | /** Resize and crop the image to fit in given resolution. Returns TRUE on |
202 | 202 | * success or FALSE on failure |
203 | - * @param mixed $src |
|
204 | 203 | * @param integer $offset |
205 | 204 | * @return bool */ |
206 | 205 | abstract public function resizeCrop($width, $height, $offset=false); |
@@ -368,6 +368,11 @@ |
||
368 | 368 | return imagecolorallocate($this->image, $r, $g, $b); |
369 | 369 | } |
370 | 370 | |
371 | + /** |
|
372 | + * @param integer $x1 |
|
373 | + * @param integer $y1 |
|
374 | + * @param boolean $color |
|
375 | + */ |
|
371 | 376 | protected function imageFilledRectangle($x1, $y1, $x2, $y2, $color) |
372 | 377 | { |
373 | 378 | $color = $this->gdColor($color); |
@@ -19,6 +19,9 @@ discard block |
||
19 | 19 | protected $root; |
20 | 20 | protected $ignored; |
21 | 21 | |
22 | + /** |
|
23 | + * @param string $folder |
|
24 | + */ |
|
22 | 25 | public function __construct($file, $folder, $ignored=null) |
23 | 26 | { |
24 | 27 | $this->zip = new ZipArchive(); |
@@ -42,6 +45,9 @@ discard block |
||
42 | 45 | $this->zip->close(); |
43 | 46 | } |
44 | 47 | |
48 | + /** |
|
49 | + * @param string $folder |
|
50 | + */ |
|
45 | 51 | public function zip($folder, $parent=null) |
46 | 52 | { |
47 | 53 | $full_path = "{$this->root}$parent$folder"; |
@@ -102,7 +102,6 @@ discard block |
||
102 | 102 | |
103 | 103 | /** Checks if the given file is really writable. The standard PHP function |
104 | 104 | * is_writable() does not work properly on Windows servers. |
105 | - * @param string $dir |
|
106 | 105 | * @return bool */ |
107 | 106 | |
108 | 107 | public static function isWritable($filename) |
@@ -116,7 +115,6 @@ discard block |
||
116 | 115 | } |
117 | 116 | |
118 | 117 | /** Get the extension from filename |
119 | - * @param string $file |
|
120 | 118 | * @param bool $toLower |
121 | 119 | * @return string */ |
122 | 120 |