@@ -104,6 +104,9 @@ discard block |
||
| 104 | 104 | $this->random_id = $this->validIDs[$this->random_id]; |
| 105 | 105 | } |
| 106 | 106 | |
| 107 | + /** |
|
| 108 | + * @param string $fieldName |
|
| 109 | + */ |
|
| 107 | 110 | protected function getCaptchField($fieldName) |
| 108 | 111 | { |
| 109 | 112 | $dataset = DataSetFactory::getDataSetByName('profiles'); |
@@ -126,6 +129,9 @@ discard block |
||
| 126 | 129 | return $this->getCaptchField('hint'); |
| 127 | 130 | } |
| 128 | 131 | |
| 132 | + /** |
|
| 133 | + * @return string |
|
| 134 | + */ |
|
| 129 | 135 | private function get_answer() |
| 130 | 136 | { |
| 131 | 137 | return $this->getCaptchField('answer'); |