@@ -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'); |
@@ -24,6 +24,9 @@ |
||
| 24 | 24 | } |
| 25 | 25 | } |
| 26 | 26 | |
| 27 | + /** |
|
| 28 | + * @param string $param |
|
| 29 | + */ |
|
| 27 | 30 | private function getParamFromArrayIfSet($array, $param, $default = null) |
| 28 | 31 | { |
| 29 | 32 | if(isset($array[$param])) |
@@ -311,7 +311,7 @@ |
||
| 311 | 311 | * |
| 312 | 312 | * @param stdClass $data The user's new data |
| 313 | 313 | * |
| 314 | - * @return boolean true if the user's data was changed, false otherwise |
|
| 314 | + * @return boolean|null true if the user's data was changed, false otherwise |
|
| 315 | 315 | */ |
| 316 | 316 | public function editUser($data) |
| 317 | 317 | { |
@@ -15,7 +15,7 @@ |
||
| 15 | 15 | /** |
| 16 | 16 | * Create the DataTableAPI for the given DataTable info |
| 17 | 17 | * |
| 18 | - * @param string $datSetName The name of the DataSet used in the Settings |
|
| 18 | + * @param string $dataSetName The name of the DataSet used in the Settings |
|
| 19 | 19 | * @param string $dataTableName The name of the table in the DataSet |
| 20 | 20 | * @param string|false $primaryKeyName The table primary key. Must be specified for update/delete capable tables |
| 21 | 21 | */ |