@@ -112,7 +112,7 @@ discard block |
||
| 112 | 112 | /** |
| 113 | 113 | * You can set an alternative class name for order item using this method. |
| 114 | 114 | * |
| 115 | - * @param string $ClassName |
|
| 115 | + * @param string $className |
|
| 116 | 116 | **/ |
| 117 | 117 | public function setAlternativeClassNameForOrderItem($className); |
| 118 | 118 | |
@@ -240,6 +240,10 @@ discard block |
||
| 240 | 240 | * @return float (casted variable) |
| 241 | 241 | */ |
| 242 | 242 | public function CalculatedPrice(); |
| 243 | + |
|
| 244 | + /** |
|
| 245 | + * @return double |
|
| 246 | + */ |
|
| 243 | 247 | public function getCalculatedPrice(); |
| 244 | 248 | |
| 245 | 249 | /** |
@@ -248,6 +252,10 @@ discard block |
||
| 248 | 252 | * @return Money |
| 249 | 253 | */ |
| 250 | 254 | public function CalculatedPriceAsMoney(); |
| 255 | + |
|
| 256 | + /** |
|
| 257 | + * @return Money |
|
| 258 | + */ |
|
| 251 | 259 | public function getCalculatedPriceAsMoney(); |
| 252 | 260 | |
| 253 | 261 | //CRUD SETTINGS |
@@ -322,7 +322,7 @@ discard block |
||
| 322 | 322 | /** |
| 323 | 323 | * Used in getCSMFields. |
| 324 | 324 | * |
| 325 | - * @return GridField |
|
| 325 | + * @return UploadField |
|
| 326 | 326 | **/ |
| 327 | 327 | protected function getAdditionalImagesField() |
| 328 | 328 | { |
@@ -337,7 +337,7 @@ discard block |
||
| 337 | 337 | /** |
| 338 | 338 | * Used in getCSMFields. |
| 339 | 339 | * |
| 340 | - * @return GridField |
|
| 340 | + * @return UploadField |
|
| 341 | 341 | **/ |
| 342 | 342 | protected function getAdditionalFilesField() |
| 343 | 343 | { |
@@ -626,7 +626,7 @@ discard block |
||
| 626 | 626 | /** |
| 627 | 627 | * returns the default image of the product. |
| 628 | 628 | * |
| 629 | - * @return Image | Null |
|
| 629 | + * @return string | Null |
|
| 630 | 630 | */ |
| 631 | 631 | public function DefaultImage() |
| 632 | 632 | { |
@@ -661,7 +661,7 @@ discard block |
||
| 661 | 661 | /** |
| 662 | 662 | * @TODO: complete |
| 663 | 663 | * |
| 664 | - * @param string $compontent - the has many relationship you are looking at, e.g. OrderAttribute |
|
| 664 | + * @param string $component - the has many relationship you are looking at, e.g. OrderAttribute |
|
| 665 | 665 | * |
| 666 | 666 | * @return DataList (CHECK!) |
| 667 | 667 | */ |
@@ -752,7 +752,7 @@ discard block |
||
| 752 | 752 | /** |
| 753 | 753 | * You can set an alternative class name for order item using this method. |
| 754 | 754 | * |
| 755 | - * @param string $ClassName |
|
| 755 | + * @param string $className |
|
| 756 | 756 | **/ |
| 757 | 757 | public function setAlternativeClassNameForOrderItem($className) |
| 758 | 758 | { |
@@ -879,6 +879,7 @@ discard block |
||
| 879 | 879 | * set new specific new quantity for buyable's orderitem. |
| 880 | 880 | * |
| 881 | 881 | * @param float |
| 882 | + * @param integer $quantity |
|
| 882 | 883 | * |
| 883 | 884 | * @return string (Link) |
| 884 | 885 | */ |
@@ -970,7 +971,7 @@ discard block |
||
| 970 | 971 | * In templates, it is used like this: |
| 971 | 972 | * $EcommerceConfigAjax.TableID. |
| 972 | 973 | * |
| 973 | - * @return EcommerceConfigAjax |
|
| 974 | + * @return EcommerceConfigAjaxDefinitions |
|
| 974 | 975 | **/ |
| 975 | 976 | public function AJAXDefinitions() |
| 976 | 977 | { |
@@ -26,7 +26,7 @@ |
||
| 26 | 26 | * turns an html document into a formatted html document |
| 27 | 27 | * using the emogrify method. |
| 28 | 28 | * |
| 29 | - * @param $html |
|
| 29 | + * @param string $html |
|
| 30 | 30 | * |
| 31 | 31 | * @return string HTML |
| 32 | 32 | */ |
@@ -185,7 +185,7 @@ |
||
| 185 | 185 | } |
| 186 | 186 | |
| 187 | 187 | /** |
| 188 | - * @return string (HTML) |
|
| 188 | + * @return HTMLText (HTML) |
|
| 189 | 189 | **/ |
| 190 | 190 | public function forTemplate() |
| 191 | 191 | { |
@@ -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 | { |
@@ -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 | { |
@@ -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 | { |
@@ -161,6 +161,7 @@ discard block |
||
| 161 | 161 | * tells us if the current member is in the Shop Administrators Group. |
| 162 | 162 | * |
| 163 | 163 | * @param Member | Null $member |
| 164 | + * @param DataObject $member |
|
| 164 | 165 | * |
| 165 | 166 | * @return bool |
| 166 | 167 | */ |
@@ -180,6 +181,7 @@ discard block |
||
| 180 | 181 | * tells us if the current member can process the orders |
| 181 | 182 | * |
| 182 | 183 | * @param Member | Null $member |
| 184 | + * @param DataObject $member |
|
| 183 | 185 | * |
| 184 | 186 | * @return bool |
| 185 | 187 | */ |
@@ -416,7 +418,6 @@ discard block |
||
| 416 | 418 | } |
| 417 | 419 | |
| 418 | 420 | /** |
| 419 | - * @param bool $additionalFields: add extra fields. |
|
| 420 | 421 | * |
| 421 | 422 | * @return FieldList |
| 422 | 423 | */ |
@@ -503,7 +504,7 @@ discard block |
||
| 503 | 504 | * Return which member fields should be required on {@link OrderForm} |
| 504 | 505 | * and {@link ShopAccountForm}. |
| 505 | 506 | * |
| 506 | - * @return array |
|
| 507 | + * @return string[] |
|
| 507 | 508 | */ |
| 508 | 509 | public function getEcommerceRequiredFields() |
| 509 | 510 | { |
@@ -81,7 +81,7 @@ |
||
| 81 | 81 | * CRUCIAL |
| 82 | 82 | * makes sure all the relevant payment methods are available ... |
| 83 | 83 | * |
| 84 | - * @return this | EcommercePayment |
|
| 84 | + * @return EcommercePayment | EcommercePayment |
|
| 85 | 85 | */ |
| 86 | 86 | public function init() |
| 87 | 87 | { |