@@ -532,7 +532,7 @@ discard block |
||
| 532 | 532 | * |
| 533 | 533 | * @param string $vcard vCard |
| 534 | 534 | * @param string $vcard_id vCard id on the CardDAV server |
| 535 | - * @return boolean |
|
| 535 | + * @return string |
|
| 536 | 536 | */ |
| 537 | 537 | public function update($vcard, $vcard_id) |
| 538 | 538 | { |
@@ -672,7 +672,7 @@ discard block |
||
| 672 | 672 | * @param string $method HTTP method like (OPTIONS, GET, HEAD, POST, PUT, DELETE, TRACE, COPY, MOVE) |
| 673 | 673 | * @param string $content Content for CardDAV queries |
| 674 | 674 | * @param string $content_type Set content type |
| 675 | - * @return array Raw CardDAV Response and http status code |
|
| 675 | + * @return boolean Raw CardDAV Response and http status code |
|
| 676 | 676 | */ |
| 677 | 677 | private function query($url, $method, $content = null, $content_type = null) |
| 678 | 678 | { |
@@ -533,6 +533,10 @@ |
||
| 533 | 533 | * @param $item string the item to set |
| 534 | 534 | * @param $value mixed the value to store into the item |
| 535 | 535 | */ |
| 536 | + |
|
| 537 | + /** |
|
| 538 | + * @param string $item |
|
| 539 | + */ |
|
| 536 | 540 | public function setItem($item, $value) |
| 537 | 541 | { |
| 538 | 542 | $this->config[$item] = $value; |
@@ -133,6 +133,9 @@ discard block |
||
| 133 | 133 | return $path; |
| 134 | 134 | } |
| 135 | 135 | |
| 136 | + /** |
|
| 137 | + * @param string $dir |
|
| 138 | + */ |
|
| 136 | 139 | public function rmtemp($dir) |
| 137 | 140 | { |
| 138 | 141 | if(is_dir($dir)) |
@@ -177,6 +180,10 @@ discard block |
||
| 177 | 180 | } |
| 178 | 181 | } |
| 179 | 182 | |
| 183 | + /** |
|
| 184 | + * @param string $inputfile |
|
| 185 | + * @param string $outputfile |
|
| 186 | + */ |
|
| 180 | 187 | public function base64_to_jpeg($inputfile, $outputfile) |
| 181 | 188 | { |
| 182 | 189 | // read data (binary) |