@@ -196,7 +196,7 @@ discard block |
||
| 196 | 196 | * @param bool (optional) $b |
| 197 | 197 | * @param int (optional) $orderID |
| 198 | 198 | * |
| 199 | - * @return bool |
|
| 199 | + * @return boolean|null |
|
| 200 | 200 | */ |
| 201 | 201 | public static function set_needs_recalculating($b = true, $orderID = 0) |
| 202 | 202 | { |
@@ -268,7 +268,7 @@ discard block |
||
| 268 | 268 | /** |
| 269 | 269 | * This function returns the OrderSteps. |
| 270 | 270 | * |
| 271 | - * @return ArrayList (OrderSteps) |
|
| 271 | + * @return DataList (OrderSteps) |
|
| 272 | 272 | **/ |
| 273 | 273 | public static function get_order_status_options() |
| 274 | 274 | { |
@@ -467,6 +467,7 @@ discard block |
||
| 467 | 467 | * link to edit the record. |
| 468 | 468 | * |
| 469 | 469 | * @param string | Null $action - e.g. edit |
| 470 | + * @param string $action |
|
| 470 | 471 | * |
| 471 | 472 | * @return string |
| 472 | 473 | */ |
@@ -1680,7 +1681,7 @@ discard block |
||
| 1680 | 1681 | * Stores the preferred currency of the order. |
| 1681 | 1682 | * IMPORTANTLY we store the exchange rate for future reference... |
| 1682 | 1683 | * |
| 1683 | - * @param EcommerceCurrency $currency |
|
| 1684 | + * @param EcommerceCurrency $newCurrency |
|
| 1684 | 1685 | */ |
| 1685 | 1686 | public function UpdateCurrency($newCurrency) |
| 1686 | 1687 | { |
@@ -2141,7 +2142,7 @@ discard block |
||
| 2141 | 2142 | * @param string|array $excluded - Class(es) of modifier(s) to ignore in the calculation. |
| 2142 | 2143 | * @param bool $stopAtExcludedModifier - when this flag is TRUE, we stop adding the modifiers when we reach an excluded modifier. |
| 2143 | 2144 | * |
| 2144 | - * @return float |
|
| 2145 | + * @return integer |
|
| 2145 | 2146 | */ |
| 2146 | 2147 | public function ModifiersSubTotal($excluded = null, $stopAtExcludedModifier = false) |
| 2147 | 2148 | { |
@@ -2339,7 +2340,7 @@ discard block |
||
| 2339 | 2340 | * |
| 2340 | 2341 | * @param Member (optional) $member |
| 2341 | 2342 | * |
| 2342 | - * @return bool |
|
| 2343 | + * @return boolean|null |
|
| 2343 | 2344 | **/ |
| 2344 | 2345 | public function canViewAdminStuff($member = null) |
| 2345 | 2346 | { |
@@ -2392,7 +2393,7 @@ discard block |
||
| 2392 | 2393 | * If any of them need immediate attention then this is done |
| 2393 | 2394 | * first after which it will go through to the checkout page. |
| 2394 | 2395 | * |
| 2395 | - * @param Member (optional) $member |
|
| 2396 | + * @param Member Member $member |
|
| 2396 | 2397 | * |
| 2397 | 2398 | * @return bool |
| 2398 | 2399 | **/ |
@@ -2759,6 +2760,10 @@ discard block |
||
| 2759 | 2760 | { |
| 2760 | 2761 | return $this->getTitle($dateFormat, $includeName); |
| 2761 | 2762 | } |
| 2763 | + |
|
| 2764 | + /** |
|
| 2765 | + * @param string $dateFormat |
|
| 2766 | + */ |
|
| 2762 | 2767 | public function getTitle($dateFormat = null, $includeName = false) |
| 2763 | 2768 | { |
| 2764 | 2769 | if ($this->exists()) { |
@@ -2822,7 +2827,7 @@ discard block |
||
| 2822 | 2827 | /** |
| 2823 | 2828 | * Returns the subtotal of the items for this order. |
| 2824 | 2829 | * |
| 2825 | - * @return float |
|
| 2830 | + * @return integer |
|
| 2826 | 2831 | */ |
| 2827 | 2832 | public function SubTotal() |
| 2828 | 2833 | { |
@@ -2888,7 +2893,7 @@ discard block |
||
| 2888 | 2893 | /** |
| 2889 | 2894 | * Returns the total cost of an order including the additional charges or deductions of its modifiers. |
| 2890 | 2895 | * |
| 2891 | - * @return float |
|
| 2896 | + * @return integer |
|
| 2892 | 2897 | */ |
| 2893 | 2898 | public function Total() |
| 2894 | 2899 | { |
@@ -3353,7 +3358,7 @@ discard block |
||
| 3353 | 3358 | /** |
| 3354 | 3359 | * Submission Log for this Order (if any). |
| 3355 | 3360 | * |
| 3356 | - * @return DateTime |
|
| 3361 | + * @return DBField |
|
| 3357 | 3362 | **/ |
| 3358 | 3363 | public function OrderDate() |
| 3359 | 3364 | { |
@@ -3538,7 +3543,7 @@ discard block |
||
| 3538 | 3543 | /** |
| 3539 | 3544 | * Converts the Order into HTML, based on the Order Template. |
| 3540 | 3545 | * |
| 3541 | - * @return HTML Object |
|
| 3546 | + * @return DBField Object |
|
| 3542 | 3547 | **/ |
| 3543 | 3548 | public function ConvertToHTML() |
| 3544 | 3549 | { |
@@ -3602,7 +3607,7 @@ discard block |
||
| 3602 | 3607 | * In templates, it is used like this: |
| 3603 | 3608 | * $EcommerceConfigAjax.TableID. |
| 3604 | 3609 | * |
| 3605 | - * @return EcommerceConfigAjax |
|
| 3610 | + * @return EcommerceConfigAjaxDefinitions |
|
| 3606 | 3611 | **/ |
| 3607 | 3612 | public function AJAXDefinitions() |
| 3608 | 3613 | { |
@@ -300,7 +300,7 @@ discard block |
||
| 300 | 300 | * standard SS method. |
| 301 | 301 | * |
| 302 | 302 | * @param BuyableModel $buyable |
| 303 | - * @param float $quantity |
|
| 303 | + * @param integer $quantity |
|
| 304 | 304 | * |
| 305 | 305 | * @return FieldList |
| 306 | 306 | **/ |
@@ -580,7 +580,7 @@ discard block |
||
| 580 | 580 | } |
| 581 | 581 | |
| 582 | 582 | /** |
| 583 | - * @return Field (EcomQuantityField) |
|
| 583 | + * @return EcomQuantityField (EcomQuantityField) |
|
| 584 | 584 | **/ |
| 585 | 585 | public function QuantityField() |
| 586 | 586 | { |
@@ -495,7 +495,7 @@ discard block |
||
| 495 | 495 | * can be executed one after the other, each |
| 496 | 496 | * being less specific than the last... |
| 497 | 497 | * |
| 498 | - * @return array |
|
| 498 | + * @return boolean |
|
| 499 | 499 | */ |
| 500 | 500 | protected function addToResults($listToAdd) |
| 501 | 501 | { |
@@ -518,8 +518,8 @@ discard block |
||
| 518 | 518 | * can be executed one after the other, each |
| 519 | 519 | * being less specific than the last... |
| 520 | 520 | * |
| 521 | - * @param array $words - words being search |
|
| 522 | 521 | * @param array $fields - fields being searched |
| 522 | + * @param string $keywordPhrase |
|
| 523 | 523 | * |
| 524 | 524 | * @return array |
| 525 | 525 | */ |