@@ -385,6 +385,9 @@ |
||
| 385 | 385 | } |
| 386 | 386 | } |
| 387 | 387 | |
| 388 | + /** |
|
| 389 | + * @param Location $location |
|
| 390 | + */ |
|
| 388 | 391 | function registerAccount($location) { |
| 389 | 392 | $accountCreator = new CreateUser(); |
| 390 | 393 | $accountCreator->setLocation($location); |
@@ -204,6 +204,9 @@ |
||
| 204 | 204 | return array("image_url" => $captcha['image_url'], "key" => $captcha['key']); |
| 205 | 205 | } |
| 206 | 206 | |
| 207 | + /** |
|
| 208 | + * @param string $deviceUid |
|
| 209 | + */ |
|
| 207 | 210 | function showCaptcha($accessToken, $deviceUid) |
| 208 | 211 | { |
| 209 | 212 | $accountCreator = new GetCaptcha(); |
@@ -11,6 +11,9 @@ discard block |
||
| 11 | 11 | public $url; |
| 12 | 12 | |
| 13 | 13 | |
| 14 | + /** |
|
| 15 | + * @param string $url |
|
| 16 | + */ |
|
| 14 | 17 | function setUrl ($url) |
| 15 | 18 | { |
| 16 | 19 | $this->url = $url; |
@@ -21,6 +24,9 @@ discard block |
||
| 21 | 24 | return $this->url; |
| 22 | 25 | } |
| 23 | 26 | |
| 27 | + /** |
|
| 28 | + * @param string $lastPostId |
|
| 29 | + */ |
|
| 24 | 30 | function setLastPostId ($lastPostId) |
| 25 | 31 | { |
| 26 | 32 | $this->lastPostId = $lastPostId; |
@@ -44,6 +44,9 @@ |
||
| 44 | 44 | return (isset($matches[0])) ? true : false; |
| 45 | 45 | } |
| 46 | 46 | |
| 47 | +/** |
|
| 48 | + * @param string $property |
|
| 49 | + */ |
|
| 47 | 50 | function configPropertyExists($config, $property) |
| 48 | 51 | { |
| 49 | 52 | if(!array_key_exists($property, $config) || !isset($config[$property]) || $config[$property] == '' || $config[$property] == 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx') |