@@ -19,6 +19,9 @@ |
||
| 19 | 19 | |
| 20 | 20 | protected $deleteFirst = true; |
| 21 | 21 | |
| 22 | + /** |
|
| 23 | + * @param boolean $b |
|
| 24 | + */ |
|
| 22 | 25 | public function setDeleteFirst($b) |
| 23 | 26 | { |
| 24 | 27 | $this->deleteFirst = $b; |
@@ -196,8 +196,10 @@ |
||
| 196 | 196 | * |
| 197 | 197 | * @param string - $field - name of the field to be tested |
| 198 | 198 | * @param string - $table - name of the table to be tested |
| 199 | + * @param string $table |
|
| 200 | + * @param string $field |
|
| 199 | 201 | * |
| 200 | - * @return bool |
|
| 202 | + * @return boolean|null |
|
| 201 | 203 | */ |
| 202 | 204 | protected function makeFieldObsolete($table, $field, $format = '') |
| 203 | 205 | { |
@@ -69,6 +69,9 @@ |
||
| 69 | 69 | } |
| 70 | 70 | } |
| 71 | 71 | |
| 72 | + /** |
|
| 73 | + * @param DataList $orderItems |
|
| 74 | + */ |
|
| 72 | 75 | public function generateExportFileData($email, $date, $orderItems) |
| 73 | 76 | { |
| 74 | 77 | $separator = ','; |
@@ -92,6 +92,10 @@ |
||
| 92 | 92 | $this->doNotSendEmails = false; |
| 93 | 93 | } |
| 94 | 94 | |
| 95 | + /** |
|
| 96 | + * @param integer|null $limit |
|
| 97 | + * @param integer|null $startAt |
|
| 98 | + */ |
|
| 95 | 99 | protected function tryToFinaliseOrders($orders, $limit, $startAt) |
| 96 | 100 | { |
| 97 | 101 | $orders = $orders->limit($limit, $startAt); |
@@ -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 | { |
@@ -188,7 +188,6 @@ |
||
| 188 | 188 | /** |
| 189 | 189 | * saves the form into session. |
| 190 | 190 | * |
| 191 | - * @param array $data - data from form. |
|
| 192 | 191 | */ |
| 193 | 192 | public function saveDataToSession() |
| 194 | 193 | { |
@@ -188,7 +188,6 @@ |
||
| 188 | 188 | /** |
| 189 | 189 | * saves the form into session. |
| 190 | 190 | * |
| 191 | - * @param array $data - data from form. |
|
| 192 | 191 | */ |
| 193 | 192 | public function saveDataToSession() |
| 194 | 193 | { |
@@ -188,7 +188,6 @@ |
||
| 188 | 188 | /** |
| 189 | 189 | * saves the form into session. |
| 190 | 190 | * |
| 191 | - * @param array $data - data from form. |
|
| 192 | 191 | */ |
| 193 | 192 | public function saveDataToSession() |
| 194 | 193 | { |
@@ -330,7 +330,7 @@ |
||
| 330 | 330 | * In templates, it is used like this: |
| 331 | 331 | * $EcommerceConfigAjax.TableID. |
| 332 | 332 | * |
| 333 | - * @return EcommerceConfigAjax |
|
| 333 | + * @return EcommerceConfigAjaxDefinitions |
|
| 334 | 334 | **/ |
| 335 | 335 | public function AJAXDefinitions() |
| 336 | 336 | { |