@@ -265,7 +265,6 @@ discard block |
||
| 265 | 265 | * |
| 266 | 266 | * @deprecated 4.0 Use the "Session.timeout_ips" config setting instead |
| 267 | 267 | * |
| 268 | - * @param array $session_ips Array of IPv4 rules. |
|
| 269 | 268 | */ |
| 270 | 269 | public static function set_timeout_ips($ips) { |
| 271 | 270 | Deprecation::notice('4.0', 'Use the "Session.timeout_ips" config setting instead'); |
@@ -462,6 +461,9 @@ discard block |
||
| 462 | 461 | $diffVar[sizeof($var)-1] = $val; |
| 463 | 462 | } |
| 464 | 463 | |
| 464 | + /** |
|
| 465 | + * @param string $name |
|
| 466 | + */ |
|
| 465 | 467 | public function inst_get($name) { |
| 466 | 468 | // Quicker execution path for "."-free names |
| 467 | 469 | if(strpos($name,'.') === false) { |
@@ -91,6 +91,7 @@ discard block |
||
| 91 | 91 | |
| 92 | 92 | /** |
| 93 | 93 | * Handle the export, for both the action button and the URL |
| 94 | + * @param GridField $gridField |
|
| 94 | 95 | */ |
| 95 | 96 | public function handleExport($gridField, $request = null) { |
| 96 | 97 | $now = Date("d-m-Y-H-i"); |
@@ -248,6 +249,7 @@ discard block |
||
| 248 | 249 | |
| 249 | 250 | /** |
| 250 | 251 | * @param boolean |
| 252 | + * @param boolean $bool |
|
| 251 | 253 | */ |
| 252 | 254 | public function setCsvHasHeader($bool) { |
| 253 | 255 | $this->csvHasHeader = $bool; |