@@ -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); |
@@ -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; |
@@ -37,6 +37,9 @@ discard block |
||
37 | 37 | die(); |
38 | 38 | } |
39 | 39 | |
40 | +/** |
|
41 | + * @param string $msg |
|
42 | + */ |
|
40 | 43 | function user_log($msg) |
41 | 44 | { |
42 | 45 | $log = $msg . PHP_EOL; |
@@ -51,6 +54,9 @@ discard block |
||
51 | 54 | return (isset($matches[0])) ? true : false; |
52 | 55 | } |
53 | 56 | |
57 | +/** |
|
58 | + * @param string $property |
|
59 | + */ |
|
54 | 60 | function configPropertyExists($config, $property) |
55 | 61 | { |
56 | 62 | if(!array_key_exists($property, $config) || !isset($config[$property]) || $config[$property] == '' || $config[$property] == 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx') |