Skip to content

Commit dc2d567

Browse files
author
reindertvetter
committed
Update PHP docs and set v0.1.5
1 parent 1313982 commit dc2d567

File tree

18 files changed

+41
-86
lines changed

18 files changed

+41
-86
lines changed

Block/Sales/NewShipment.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
<?php
22
/**
33
* The class to provide functions for new_shipment.phtml
4-
* LICENSE: This source file is subject to the Creative Commons License.
5-
* It is available through the world-wide-web at this URL:
6-
* http://creativecommons.org/licenses/by-nc-nd/3.0/nl/deed.en_US
4+
*
75
* If you want to add improvements, please create a fork in our GitHub:
86
* https://github.com/myparcelnl
7+
*
98
* @author Reindert Vetter <reindert@myparcel.nl>
109
* @copyright 2010-2017 MyParcel
1110
* @license http://creativecommons.org/licenses/by-nc-nd/3.0/nl/deed.en_US CC BY-NC-ND 3.0 NL

Block/Sales/OrderAction.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
<?php
22
/**
33
* Block for order actions (multiple orders action and one order action)
4-
* LICENSE: This source file is subject to the Creative Commons License.
5-
* It is available through the world-wide-web at this URL:
6-
* http://creativecommons.org/licenses/by-nc-nd/3.0/nl/deed.en_US
4+
*
75
* If you want to add improvements, please create a fork in our GitHub:
86
* https://github.com/myparcelnl
7+
*
98
* @author Reindert Vetter <reindert@myparcel.nl>
109
* @copyright 2010-2017 MyParcel
1110
* @license http://creativecommons.org/licenses/by-nc-nd/3.0/nl/deed.en_US CC BY-NC-ND 3.0 NL

Block/Sales/OrdersAction.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22
/**
33
* Block for order actions (multiple orders action and one order action)
44
*
5-
* LICENSE: This source file is subject to the Creative Commons License.
6-
* It is available through the world-wide-web at this URL:
7-
* http://creativecommons.org/licenses/by-nc-nd/3.0/nl/deed.en_US
8-
*
95
* If you want to add improvements, please create a fork in our GitHub:
106
* https://github.com/myparcelnl
117
*
@@ -47,7 +43,7 @@ public function __construct(Context $context, array $data = [])
4743

4844
public function getAjaxUrl()
4945
{
50-
return $this->_urlBuilder->getUrl('myparcelnl/order/MassTrackTraceLabel');
46+
return $this->_urlBuilder->getUrl('myparcelnl/order/CreateAndPrintMyParcelTrack');
5147
}
5248

5349
public function getSettings()

Controller/Adminhtml/Order/MassTrackTraceLabel.php renamed to Controller/Adminhtml/Order/CreateAndPrintMyParcelTrack.php

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,18 @@
1010
use MyParcelNL\magento\Model\Sales\MagentoOrderCollection;
1111

1212
/**
13-
* Short_description
14-
* LICENSE: This source file is subject to the Creative Commons License.
15-
* It is available through the world-wide-web at this URL:
16-
* http://creativecommons.org/licenses/by-nc-nd/3.0/nl/deed.en_US
13+
* Action to create and print MyParcel Track
14+
*
1715
* If you want to add improvements, please create a fork in our GitHub:
1816
* https://github.com/myparcelnl
19-
* @package MyParcelNL\Magento
20-
* @author Reindert Vetter <reindert@myparcel.nl>
21-
* @copyright 2010-2016 MyParcel
22-
* @license http://creativecommons.org/licenses/by-nc-nd/3.0/nl/deed.en_US CC BY-NC-ND 3.0 NL
23-
* @link https://github.com/myparcelnl/magento
24-
* @since File available since Release 0.1.0
17+
*
18+
* @author Reindert Vetter <reindert@myparcel.nl>
19+
* @copyright 2010-2017 MyParcel
20+
* @license http://creativecommons.org/licenses/by-nc-nd/3.0/nl/deed.en_US CC BY-NC-ND 3.0 NL
21+
* @link https://github.com/myparcelnl/magento
22+
* @since File available since Release 0.1.0
2523
*/
26-
class MassTrackTraceLabel extends \Magento\Framework\App\Action\Action
24+
class CreateAndPrintMyParcelTrack extends \Magento\Framework\App\Action\Action
2725
{
2826
const PATH_MODEL_ORDER = 'Magento\Sales\Model\Order';
2927
const PATH_URI_ORDER_INDEX = 'sales/order/index';
@@ -39,7 +37,7 @@ class MassTrackTraceLabel extends \Magento\Framework\App\Action\Action
3937
private $modelOrder;
4038

4139
/**
42-
* MassTrackTraceLabel constructor.
40+
* CreateAndPrintMyParcelTrack constructor.
4341
*
4442
* @param Context $context
4543
*/

Cron/UpdateStatus.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,10 @@
66
* - Update barcode in Track
77
* - Update html status in order
88
* - Update html barcode in order
9-
* LICENSE: This source file is subject to the Creative Commons License.
10-
* It is available through the world-wide-web at this URL:
11-
* http://creativecommons.org/licenses/by-nc-nd/3.0/nl/deed.en_US
9+
*
1210
* If you want to add improvements, please create a fork in our GitHub:
1311
* https://github.com/myparcelnl
12+
*
1413
* @author Reindert Vetter <reindert@myparcel.nl>
1514
* @copyright 2010-2017 MyParcel
1615
* @license http://creativecommons.org/licenses/by-nc-nd/3.0/nl/deed.en_US CC BY-NC-ND 3.0 NL

Model/Sales/MagentoOrderCollection.php

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
11
<?php
22
/**
3-
* Short_description
4-
* LICENSE: This source file is subject to the Creative Commons License.
5-
* It is available through the world-wide-web at this URL:
6-
* http://creativecommons.org/licenses/by-nc-nd/3.0/nl/deed.en_US
73
* If you want to add improvements, please create a fork in our GitHub:
84
* https://github.com/myparcelnl
5+
*
96
* @author Reindert Vetter <reindert@myparcel.nl>
107
* @copyright 2010-2017 MyParcel
118
* @license http://creativecommons.org/licenses/by-nc-nd/3.0/nl/deed.en_US CC BY-NC-ND 3.0 NL
@@ -65,7 +62,7 @@ class MagentoOrderCollection
6562
private $areaList;
6663

6764
/**
68-
* MassTrackTraceLabel constructor.
65+
* CreateAndPrintMyParcelTrack constructor.
6966
*
7067
* @param ObjectManagerInterface $objectManagerInterface
7168
* @param null $areaList

Model/Sales/MyParcelTrackTrace.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,11 @@
22
/**
33
* An object with the track and trace data
44
*
5-
* LICENSE: This source file is subject to the Creative Commons License.
6-
* It is available through the world-wide-web at this URL:
7-
* http://creativecommons.org/licenses/by-nc-nd/3.0/nl/deed.en_US
8-
*
95
* If you want to add improvements, please create a fork in our GitHub:
106
* https://github.com/myparcelnl
117
*
128
* @author Reindert Vetter <reindert@myparcel.nl>
13-
* @copyright 2010-2016 MyParcel
9+
* @copyright 2010-2017 MyParcel
1410
* @license http://creativecommons.org/licenses/by-nc-nd/3.0/nl/deed.en_US CC BY-NC-ND 3.0 NL
1511
* @link https://github.com/myparcelnl/magento
1612
* @since File available since Release 0.1.0

Model/Source/DefaultOptions.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22
/**
33
* All functions to handle insurance
44
*
5-
* LICENSE: This source file is subject to the Creative Commons License.
6-
* It is available through the world-wide-web at this URL:
7-
* http://creativecommons.org/licenses/by-nc-nd/3.0/nl/deed.en_US
8-
*
95
* If you want to add improvements, please create a fork in our GitHub:
106
* https://github.com/myparcelnl
117
*

Model/Source/PaperType.php

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,14 @@
11
<?php
22
/**
3-
* Short_description
4-
*
5-
* LICENSE: This source file is subject to the Creative Commons License.
6-
* It is available through the world-wide-web at this URL:
7-
* http://creativecommons.org/licenses/by-nc-nd/3.0/nl/deed.en_US
3+
* Get paper types for the settings
84
*
95
* If you want to add improvements, please create a fork in our GitHub:
106
* https://github.com/myparcelnl
117
*
128
* @author Reindert Vetter <reindert@myparcel.nl>
13-
* @copyright 2010-2016 MyParcel
9+
* @copyright 2010-2017 MyParcel
1410
* @license http://creativecommons.org/licenses/by-nc-nd/3.0/nl/deed.en_US CC BY-NC-ND 3.0 NL
15-
* @link https://github.com/myparcelnl/sdk
11+
* @link https://github.com/myparcelnl/magento
1612
* @since File available since Release 0.1.0
1713
*/
1814

Observer/NewShipment.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
<?php
22
/**
33
* Set MyParcel options to new track
4-
* LICENSE: This source file is subject to the Creative Commons License.
5-
* It is available through the world-wide-web at this URL:
6-
* http://creativecommons.org/licenses/by-nc-nd/3.0/nl/deed.en_US
4+
*
75
* If you want to add improvements, please create a fork in our GitHub:
86
* https://github.com/myparcelnl
7+
*
98
* @author Reindert Vetter <reindert@myparcel.nl>
109
* @copyright 2010-2017 MyParcel
1110
* @license http://creativecommons.org/licenses/by-nc-nd/3.0/nl/deed.en_US CC BY-NC-ND 3.0 NL

0 commit comments

Comments
 (0)