@@ -7,6 +7,9 @@ |
||
7 | 7 | { |
8 | 8 | protected $types = array('xlsx', 'xls', 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', 'application/vnd.ms-excel'); |
9 | 9 | |
10 | + /** |
|
11 | + * @param integer $row |
|
12 | + */ |
|
10 | 13 | protected function setRowFromArray(&$sheat, $row, $array, $count = 0) |
11 | 14 | { |
12 | 15 | if($count === 0) |
@@ -20,7 +20,7 @@ |
||
20 | 20 | { |
21 | 21 | if(isset($array[$i])) |
22 | 22 | { |
23 | - $sheat->setCellValueByColumnAndRow($i+1, $row, $array[$i]); |
|
23 | + $sheat->setCellValueByColumnAndRow($i + 1, $row, $array[$i]); |
|
24 | 24 | } |
25 | 25 | } |
26 | 26 | } |
@@ -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])) |