@@ -78,6 +78,9 @@ discard block |
||
| 78 | 78 | $this->loader->addPath($dir, $namespace); |
| 79 | 79 | } |
| 80 | 80 | |
| 81 | + /** |
|
| 82 | + * @param string $name |
|
| 83 | + */ |
|
| 81 | 84 | public function setTemplateName($name) |
| 82 | 85 | { |
| 83 | 86 | $this->templateName = $name; |
@@ -112,7 +115,6 @@ discard block |
||
| 112 | 115 | * Add a JavaScript file from a set of files known to the framework |
| 113 | 116 | * |
| 114 | 117 | * @param string $jsFileID the ID of the JS file |
| 115 | - * @param boolean $async Can the JS file be loaded asynchronously? |
|
| 116 | 118 | */ |
| 117 | 119 | public function addWellKnownJS($jsFileID) |
| 118 | 120 | { |
@@ -108,6 +108,9 @@ discard block |
||
| 108 | 108 | $this->wwwUrl = $settings->getGlobalSetting('www_url', 'https://www.burningflipside.com/'); |
| 109 | 109 | } |
| 110 | 110 | |
| 111 | + /** |
|
| 112 | + * @param string $fieldName |
|
| 113 | + */ |
|
| 111 | 114 | protected function getCaptchField($fieldName) |
| 112 | 115 | { |
| 113 | 116 | $dataset = DataSetFactory::getDataSetByName('profiles'); |
@@ -130,6 +133,9 @@ discard block |
||
| 130 | 133 | return $this->getCaptchField('hint'); |
| 131 | 134 | } |
| 132 | 135 | |
| 136 | + /** |
|
| 137 | + * @return string |
|
| 138 | + */ |
|
| 133 | 139 | private function get_answer() |
| 134 | 140 | { |
| 135 | 141 | return $this->getCaptchField('answer'); |