@@ -151,7 +151,7 @@ discard block |
||
151 | 151 | * If the order already exists, it will update the seconds and the creation time. |
152 | 152 | * |
153 | 153 | * @param Order $order [description] |
154 | - * @param Int $deferInSeconds [description] |
|
154 | + * @param Int $deferTimeInSeconds [description] |
|
155 | 155 | */ |
156 | 156 | public function AddOrderToQueue($order, $deferTimeInSeconds) |
157 | 157 | { |
@@ -196,7 +196,7 @@ discard block |
||
196 | 196 | * |
197 | 197 | * @param Order $order |
198 | 198 | * |
199 | - * @return null | OrderProcessQueue |
|
199 | + * @return DataObject|null | OrderProcessQueue |
|
200 | 200 | */ |
201 | 201 | public function getQueueObject($order) |
202 | 202 | { |
@@ -193,7 +193,7 @@ discard block |
||
193 | 193 | * @param bool (optional) $b |
194 | 194 | * @param int (optional) $orderID |
195 | 195 | * |
196 | - * @return bool |
|
196 | + * @return boolean|null |
|
197 | 197 | */ |
198 | 198 | public static function set_needs_recalculating($b = true, $orderID = 0) |
199 | 199 | { |
@@ -265,7 +265,7 @@ discard block |
||
265 | 265 | /** |
266 | 266 | * This function returns the OrderSteps. |
267 | 267 | * |
268 | - * @return ArrayList (OrderSteps) |
|
268 | + * @return DataList (OrderSteps) |
|
269 | 269 | **/ |
270 | 270 | public static function get_order_status_options() |
271 | 271 | { |
@@ -463,6 +463,7 @@ discard block |
||
463 | 463 | * link to edit the record. |
464 | 464 | * |
465 | 465 | * @param string | Null $action - e.g. edit |
466 | + * @param string $action |
|
466 | 467 | * |
467 | 468 | * @return string |
468 | 469 | */ |
@@ -1627,7 +1628,7 @@ discard block |
||
1627 | 1628 | * Stores the preferred currency of the order. |
1628 | 1629 | * IMPORTANTLY we store the exchange rate for future reference... |
1629 | 1630 | * |
1630 | - * @param EcommerceCurrency $currency |
|
1631 | + * @param EcommerceCurrency $newCurrency |
|
1631 | 1632 | */ |
1632 | 1633 | public function UpdateCurrency($newCurrency) |
1633 | 1634 | { |
@@ -2088,7 +2089,7 @@ discard block |
||
2088 | 2089 | * @param string|array $excluded - Class(es) of modifier(s) to ignore in the calculation. |
2089 | 2090 | * @param bool $stopAtExcludedModifier - when this flag is TRUE, we stop adding the modifiers when we reach an excluded modifier. |
2090 | 2091 | * |
2091 | - * @return float |
|
2092 | + * @return integer |
|
2092 | 2093 | */ |
2093 | 2094 | public function ModifiersSubTotal($excluded = null, $stopAtExcludedModifier = false) |
2094 | 2095 | { |
@@ -2286,7 +2287,7 @@ discard block |
||
2286 | 2287 | * |
2287 | 2288 | * @param Member (optional) $member |
2288 | 2289 | * |
2289 | - * @return bool |
|
2290 | + * @return boolean|null |
|
2290 | 2291 | **/ |
2291 | 2292 | public function canViewAdminStuff($member = null) |
2292 | 2293 | { |
@@ -2339,7 +2340,7 @@ discard block |
||
2339 | 2340 | * If any of them need immediate attention then this is done |
2340 | 2341 | * first after which it will go through to the checkout page. |
2341 | 2342 | * |
2342 | - * @param Member (optional) $member |
|
2343 | + * @param Member Member $member |
|
2343 | 2344 | * |
2344 | 2345 | * @return bool |
2345 | 2346 | **/ |
@@ -2685,6 +2686,10 @@ discard block |
||
2685 | 2686 | { |
2686 | 2687 | return $this->getTitle($dateFormat, $includeName); |
2687 | 2688 | } |
2689 | + |
|
2690 | + /** |
|
2691 | + * @param string $dateFormat |
|
2692 | + */ |
|
2688 | 2693 | public function getTitle($dateFormat = null, $includeName = false) |
2689 | 2694 | { |
2690 | 2695 | if ($this->exists()) { |
@@ -2748,7 +2753,7 @@ discard block |
||
2748 | 2753 | /** |
2749 | 2754 | * Returns the subtotal of the items for this order. |
2750 | 2755 | * |
2751 | - * @return float |
|
2756 | + * @return integer |
|
2752 | 2757 | */ |
2753 | 2758 | public function SubTotal() |
2754 | 2759 | { |
@@ -2814,7 +2819,7 @@ discard block |
||
2814 | 2819 | /** |
2815 | 2820 | * Returns the total cost of an order including the additional charges or deductions of its modifiers. |
2816 | 2821 | * |
2817 | - * @return float |
|
2822 | + * @return integer |
|
2818 | 2823 | */ |
2819 | 2824 | public function Total() |
2820 | 2825 | { |
@@ -3444,7 +3449,7 @@ discard block |
||
3444 | 3449 | /** |
3445 | 3450 | * Converts the Order into HTML, based on the Order Template. |
3446 | 3451 | * |
3447 | - * @return HTML Object |
|
3452 | + * @return DBField Object |
|
3448 | 3453 | **/ |
3449 | 3454 | public function ConvertToHTML() |
3450 | 3455 | { |
@@ -3508,7 +3513,7 @@ discard block |
||
3508 | 3513 | * In templates, it is used like this: |
3509 | 3514 | * $EcommerceConfigAjax.TableID. |
3510 | 3515 | * |
3511 | - * @return EcommerceConfigAjax |
|
3516 | + * @return EcommerceConfigAjaxDefinitions |
|
3512 | 3517 | **/ |
3513 | 3518 | public function AJAXDefinitions() |
3514 | 3519 | { |