@@ -18,7 +18,6 @@ discard block |
||
| 18 | 18 | |
| 19 | 19 | /** |
| 20 | 20 | * @param string $targetFragment The HTML fragment to write the button into |
| 21 | - * @param array $exportColumns The columns to include in the export |
|
| 22 | 21 | */ |
| 23 | 22 | public function __construct($targetFragment = "after") |
| 24 | 23 | { |
@@ -72,6 +71,7 @@ discard block |
||
| 72 | 71 | |
| 73 | 72 | /** |
| 74 | 73 | * Handle the print, for both the action button and the URL |
| 74 | + * @param GridField $gridField |
|
| 75 | 75 | */ |
| 76 | 76 | public function handlePrint($gridField, $request = null) |
| 77 | 77 | { |
@@ -18,7 +18,6 @@ discard block |
||
| 18 | 18 | |
| 19 | 19 | /** |
| 20 | 20 | * @param string $targetFragment The HTML fragment to write the button into |
| 21 | - * @param array $exportColumns The columns to include in the export |
|
| 22 | 21 | */ |
| 23 | 22 | public function __construct($targetFragment = "after") |
| 24 | 23 | { |
@@ -72,6 +71,7 @@ discard block |
||
| 72 | 71 | |
| 73 | 72 | /** |
| 74 | 73 | * Handle the print, for both the action button and the URL |
| 74 | + * @param GridField $gridField |
|
| 75 | 75 | */ |
| 76 | 76 | public function handlePrintAllPackingSlips($gridField, $request = null) |
| 77 | 77 | { |
@@ -85,7 +85,7 @@ discard block |
||
| 85 | 85 | * Which columns are handled by this component |
| 86 | 86 | * |
| 87 | 87 | * @param GridField $gridField |
| 88 | - * @return array |
|
| 88 | + * @return string[] |
|
| 89 | 89 | */ |
| 90 | 90 | public function getColumnsHandled($gridField) |
| 91 | 91 | { |
@@ -98,7 +98,7 @@ discard block |
||
| 98 | 98 | * Which GridField actions are this component handling |
| 99 | 99 | * |
| 100 | 100 | * @param GridField $gridField |
| 101 | - * @return array |
|
| 101 | + * @return string[] |
|
| 102 | 102 | */ |
| 103 | 103 | public function getActions($gridField) |
| 104 | 104 | { |
@@ -83,7 +83,7 @@ discard block |
||
| 83 | 83 | * Which columns are handled by this component |
| 84 | 84 | * |
| 85 | 85 | * @param GridField $gridField |
| 86 | - * @return array |
|
| 86 | + * @return string[] |
|
| 87 | 87 | */ |
| 88 | 88 | public function getColumnsHandled($gridField) |
| 89 | 89 | { |
@@ -96,7 +96,7 @@ discard block |
||
| 96 | 96 | * Which GridField actions are this component handling |
| 97 | 97 | * |
| 98 | 98 | * @param GridField $gridField |
| 99 | - * @return array |
|
| 99 | + * @return string[] |
|
| 100 | 100 | */ |
| 101 | 101 | public function getActions($gridField) |
| 102 | 102 | { |
@@ -107,7 +107,6 @@ discard block |
||
| 107 | 107 | /** |
| 108 | 108 | * Handle the actions and apply any changes to the GridField |
| 109 | 109 | * |
| 110 | - * @param GridField $gridFi$gridField->getList()->remove($item);eld |
|
| 111 | 110 | * @param string $actionName |
| 112 | 111 | * @param mixed $arguments |
| 113 | 112 | * @param array $data - form data |
@@ -115,7 +115,7 @@ discard block |
||
| 115 | 115 | * |
| 116 | 116 | * @param array $data Form request data submitted from OrderForm |
| 117 | 117 | * @param Form $form Form object for this action |
| 118 | - * @param HTTPRequest $request Request object for this action |
|
| 118 | + * @param SS_HTTPRequest $request Request object for this action |
|
| 119 | 119 | */ |
| 120 | 120 | public function processOrder(array $data, Form $form, SS_HTTPRequest $request) |
| 121 | 121 | { |
@@ -228,7 +228,6 @@ discard block |
||
| 228 | 228 | /** |
| 229 | 229 | * saves the form into session. |
| 230 | 230 | * |
| 231 | - * @param array $data - data from form. |
|
| 232 | 231 | */ |
| 233 | 232 | public function saveDataToSession() |
| 234 | 233 | { |
@@ -93,7 +93,6 @@ |
||
| 93 | 93 | /** |
| 94 | 94 | * saves the form into session. |
| 95 | 95 | * |
| 96 | - * @param array $data - data from form. |
|
| 97 | 96 | */ |
| 98 | 97 | public function saveDataToSession() |
| 99 | 98 | { |
@@ -306,7 +306,7 @@ discard block |
||
| 306 | 306 | * - saved |
| 307 | 307 | * - has password. |
| 308 | 308 | * |
| 309 | - * @return bool |
|
| 309 | + * @return boolean|null |
|
| 310 | 310 | */ |
| 311 | 311 | protected function orderHasFullyOperationalMember() |
| 312 | 312 | { |
@@ -340,7 +340,7 @@ discard block |
||
| 340 | 340 | * |
| 341 | 341 | * @param array $data Form request data submitted from OrderForm |
| 342 | 342 | * @param Form $form Form object for this action |
| 343 | - * @param HTTPRequest $request Request object for this action |
|
| 343 | + * @param SS_HTTPRequest $request Request object for this action |
|
| 344 | 344 | */ |
| 345 | 345 | public function saveAddress(array $data, Form $form, SS_HTTPRequest $request) |
| 346 | 346 | { |
@@ -426,7 +426,6 @@ discard block |
||
| 426 | 426 | /** |
| 427 | 427 | * saves the form into session. |
| 428 | 428 | * |
| 429 | - * @param array $data - data from form. |
|
| 430 | 429 | */ |
| 431 | 430 | public function saveDataToSession() |
| 432 | 431 | { |
@@ -64,6 +64,9 @@ discard block |
||
| 64 | 64 | $this->extend('updateOrderModifierForm', $this); |
| 65 | 65 | } |
| 66 | 66 | |
| 67 | + /** |
|
| 68 | + * @param string $str |
|
| 69 | + */ |
|
| 67 | 70 | protected function myLcFirst($str) |
| 68 | 71 | { |
| 69 | 72 | if (function_exists('lcfirst') === false) { |
@@ -104,7 +107,6 @@ discard block |
||
| 104 | 107 | /** |
| 105 | 108 | * saves the form into session. |
| 106 | 109 | * |
| 107 | - * @param array $data - data from form. |
|
| 108 | 110 | */ |
| 109 | 111 | public function saveDataToSession() |
| 110 | 112 | { |
@@ -13,6 +13,7 @@ |
||
| 13 | 13 | /** |
| 14 | 14 | * assign the right payment gateways for the user |
| 15 | 15 | * @param string (optional) $gateway |
| 16 | + * @return void |
|
| 16 | 17 | */ |
| 17 | 18 | public static function assign_payment_gateway($gateway = ""); |
| 18 | 19 | } |