File tree 16 files changed +37
-73
lines changed
app/code/Magento/Downloadable
Adminhtml/Catalog/Product/Edit/Tab
16 files changed +37
-73
lines changed Original file line number Diff line number Diff line change 1
1
<?php
2
2
/**
3
- * Copyright © Magento, Inc. All rights reserved.
4
- * See COPYING.txt for license details .
3
+ * Copyright 2011 Adobe
4
+ * All Rights Reserved .
5
5
*/
6
6
namespace Magento \Downloadable \Block \Adminhtml \Catalog \Product \Edit \Tab ;
7
7
14
14
/**
15
15
* Adminhtml catalog product downloadable items tab and form
16
16
*
17
- * @author Magento Core Team <[email protected] >
18
17
* @deprecated 100.3.1
19
18
* @see \Magento\Downloadable\Ui\DataProvider\Product\Form\Modifier\Composite
20
19
*/
@@ -45,8 +44,6 @@ class Downloadable extends Widget implements TabInterface
45
44
protected $ blockId = 'downloadableInfo ' ;
46
45
47
46
/**
48
- * Core registry
49
- *
50
47
* @var Registry
51
48
*/
52
49
protected $ _coreRegistry = null ;
Original file line number Diff line number Diff line change 1
1
<?php
2
2
/**
3
- * Copyright © Magento, Inc. All rights reserved.
4
- * See COPYING.txt for license details .
3
+ * Copyright 2011 Adobe
4
+ * All Rights Reserved .
5
5
*/
6
6
namespace Magento \Downloadable \Block \Adminhtml \Catalog \Product \Edit \Tab \Downloadable ;
7
7
8
8
/**
9
9
* Adminhtml catalog product downloadable items tab links section
10
10
*
11
- * @author Magento Core Team <[email protected] >
12
11
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
13
12
*
14
13
* @deprecated 100.3.1 in favor of new class which adds grid links
@@ -36,8 +35,6 @@ class Links extends \Magento\Backend\Block\Template
36
35
protected $ _template = 'Magento_Downloadable::product/edit/downloadable/links.phtml ' ;
37
36
38
37
/**
39
- * Downloadable file
40
- *
41
38
* @var \Magento\Downloadable\Helper\File
42
39
*/
43
40
protected $ _downloadableFile = null ;
@@ -50,8 +47,6 @@ class Links extends \Magento\Backend\Block\Template
50
47
protected $ _coreFileStorageDb = null ;
51
48
52
49
/**
53
- * Core registry
54
- *
55
50
* @var \Magento\Framework\Registry
56
51
*/
57
52
protected $ _coreRegistry ;
Original file line number Diff line number Diff line change 1
1
<?php
2
2
/**
3
- * Copyright © Magento, Inc. All rights reserved.
4
- * See COPYING.txt for license details .
3
+ * Copyright 2011 Adobe
4
+ * All Rights Reserved .
5
5
*/
6
6
namespace Magento \Downloadable \Block \Adminhtml \Catalog \Product \Edit \Tab \Downloadable ;
7
7
8
8
/**
9
9
* Adminhtml catalog product downloadable items tab links section
10
10
*
11
- * @author Magento Core Team <[email protected] >
12
- *
13
11
* @deprecated 100.3.1 because of new class which adds grids samples
14
12
* @see \Magento\Downloadable\Ui\DataProvider\Product\Form\Modifier\Samples
15
13
*/
@@ -28,8 +26,6 @@ class Samples extends \Magento\Backend\Block\Widget
28
26
protected $ _template = 'Magento_Downloadable::product/edit/downloadable/samples.phtml ' ;
29
27
30
28
/**
31
- * Downloadable file
32
- *
33
29
* @var \Magento\Downloadable\Helper\File
34
30
*/
35
31
protected $ _downloadableFile = null ;
@@ -42,8 +38,6 @@ class Samples extends \Magento\Backend\Block\Widget
42
38
protected $ _coreFileStorageDb = null ;
43
39
44
40
/**
45
- * Core registry
46
- *
47
41
* @var \Magento\Framework\Registry
48
42
*/
49
43
protected $ _coreRegistry ;
Original file line number Diff line number Diff line change 1
1
<?php
2
2
/**
3
- * Copyright © Magento, Inc. All rights reserved.
4
- * See COPYING.txt for license details .
3
+ * Copyright 2011 Adobe
4
+ * All Rights Reserved .
5
5
*/
6
6
7
7
/**
8
8
* Catalog downloadable product part block
9
- *
10
- * @author Magento Core Team <[email protected] >
11
9
*/
12
10
namespace Magento \Downloadable \Block \Catalog \Product \View ;
13
11
Original file line number Diff line number Diff line change 1
1
<?php
2
2
/**
3
- * Copyright © Magento, Inc. All rights reserved.
4
- * See COPYING.txt for license details .
3
+ * Copyright 2013 Adobe
4
+ * All Rights Reserved .
5
5
*/
6
6
7
7
/**
8
8
* Shopping cart downloadable item render block
9
- *
10
- * @author Magento Core Team <[email protected] >
11
9
*/
12
10
namespace Magento \Downloadable \Block \Checkout \Cart \Item ;
13
11
Original file line number Diff line number Diff line change 1
1
<?php
2
2
/**
3
- * Copyright © Magento, Inc. All rights reserved.
4
- * See COPYING.txt for license details .
3
+ * Copyright 2011 Adobe
4
+ * All Rights Reserved .
5
5
*/
6
6
7
7
/**
8
8
* Downloadable checkout success page
9
- *
10
- * @author Magento Core Team <[email protected] >
11
9
*/
12
10
namespace Magento \Downloadable \Block \Checkout ;
13
11
Original file line number Diff line number Diff line change 1
1
<?php
2
2
/**
3
- * Copyright © Magento, Inc. All rights reserved.
4
- * See COPYING.txt for license details .
3
+ * Copyright 2011 Adobe
4
+ * All Rights Reserved .
5
5
*/
6
6
namespace Magento \Downloadable \Controller \Adminhtml \Downloadable ;
7
7
8
8
/**
9
9
* Downloadable File upload controller
10
- *
11
- * @author Magento Core Team <[email protected] >
12
10
*/
13
11
abstract class File extends \Magento \Backend \App \Action
14
12
{
@@ -17,5 +15,5 @@ abstract class File extends \Magento\Backend\App\Action
17
15
*
18
16
* @see _isAllowed()
19
17
*/
20
- const ADMIN_RESOURCE = 'Magento_Catalog::products ' ;
18
+ public const ADMIN_RESOURCE = 'Magento_Catalog::products ' ;
21
19
}
Original file line number Diff line number Diff line change 1
1
<?php
2
2
/**
3
- * Copyright © Magento, Inc. All rights reserved.
4
- * See COPYING.txt for license details .
3
+ * Copyright 2013 Adobe
4
+ * All Rights Reserved .
5
5
*/
6
6
namespace Magento \Downloadable \Controller ;
7
7
10
10
11
11
/**
12
12
* Download controller
13
- *
14
- * @author Magento Core Team <[email protected] >
15
13
*/
16
14
abstract class Download extends \Magento \Framework \App \Action \Action
17
15
{
Original file line number Diff line number Diff line change 1
1
<?php
2
2
/**
3
- * Copyright © Magento, Inc. All rights reserved.
4
- * See COPYING.txt for license details .
3
+ * Copyright 2011 Adobe
4
+ * All Rights Reserved .
5
5
*/
6
6
7
7
namespace Magento \Downloadable \Helper \Catalog \Product ;
8
8
9
9
/**
10
10
* Helper for fetching properties by product configurational item
11
- *
12
- * @author Magento Core Team <[email protected] >
13
11
*/
14
12
class Configuration extends \Magento \Framework \App \Helper \AbstractHelper implements
15
13
\Magento \Catalog \Helper \Product \Configuration \ConfigurationInterface
Original file line number Diff line number Diff line change 1
1
<?php
2
2
/**
3
- * Copyright © Magento, Inc. All rights reserved.
4
- * See COPYING.txt for license details .
3
+ * Copyright 2011 Adobe
4
+ * All Rights Reserved .
5
5
*/
6
6
namespace Magento \Downloadable \Helper ;
7
7
11
11
12
12
/**
13
13
* Downloadable helper
14
- *
15
- * @author Magento Core Team <[email protected] >
16
14
*/
17
15
class Data extends \Magento \Framework \App \Helper \AbstractHelper
18
16
{
Original file line number Diff line number Diff line change 1
1
<?php
2
2
/**
3
- * Copyright © Magento, Inc. All rights reserved.
4
- * See COPYING.txt for license details .
3
+ * Copyright 2011 Adobe
4
+ * All Rights Reserved .
5
5
*/
6
6
7
7
/**
8
8
* Downloadable products price model
9
- *
10
- * @author Magento Core Team <[email protected] >
11
9
*/
12
10
namespace Magento \Downloadable \Model \Product ;
13
11
Original file line number Diff line number Diff line change 1
1
<?php
2
2
/**
3
- * Copyright © Magento, Inc. All rights reserved.
4
- * See COPYING.txt for license details .
3
+ * Copyright 2011 Adobe
4
+ * All Rights Reserved .
5
5
*/
6
6
namespace Magento \Downloadable \Model \ResourceModel \Link ;
7
7
8
8
use Magento \Catalog \Api \Data \ProductInterface ;
9
9
10
10
/**
11
11
* Downloadable links resource collection
12
- *
13
- * @author Magento Core Team <[email protected] >
14
12
*/
15
13
class Collection extends \Magento \Framework \Model \ResourceModel \Db \Collection \AbstractCollection
16
14
{
Original file line number Diff line number Diff line change 1
1
<?php
2
2
/**
3
- * Copyright © Magento, Inc. All rights reserved.
4
- * See COPYING.txt for license details .
3
+ * Copyright 2011 Adobe
4
+ * All Rights Reserved .
5
5
*/
6
6
namespace Magento \Downloadable \Model \ResourceModel \Link ;
7
7
8
8
/**
9
9
* Downloadable Product link purchased resource model
10
- *
11
- * @author Magento Core Team <[email protected] >
12
10
*/
13
11
class Purchased extends \Magento \Framework \Model \ResourceModel \Db \AbstractDb
14
12
{
Original file line number Diff line number Diff line change 1
1
<?php
2
2
/**
3
- * Copyright © Magento, Inc. All rights reserved.
4
- * See COPYING.txt for license details .
3
+ * Copyright 2011 Adobe
4
+ * All Rights Reserved .
5
5
*/
6
6
namespace Magento \Downloadable \Model \ResourceModel \Link \Purchased ;
7
7
8
8
/**
9
9
* Downloadable Product link purchased items resource model
10
- *
11
- * @author Magento Core Team <[email protected] >
12
10
*/
13
11
class Item extends \Magento \Framework \Model \ResourceModel \Db \AbstractDb
14
12
{
Original file line number Diff line number Diff line change 1
1
<?php
2
2
/**
3
- * Copyright © Magento, Inc. All rights reserved.
4
- * See COPYING.txt for license details .
3
+ * Copyright 2011 Adobe
4
+ * All Rights Reserved .
5
5
*/
6
6
namespace Magento \Downloadable \Model \System \Config \Source ;
7
7
8
8
/**
9
9
* Downloadable Content Disposition Source
10
- *
11
- * @author Magento Core Team <[email protected] >
12
10
*/
13
11
class Contentdisposition implements \Magento \Framework \Option \ArrayInterface
14
12
{
15
13
/**
14
+ * Return option array
15
+ *
16
16
* @return array
17
17
*/
18
18
public function toOptionArray ()
Original file line number Diff line number Diff line change 1
1
<?php
2
2
/**
3
- * Copyright © Magento, Inc. All rights reserved.
4
- * See COPYING.txt for license details .
3
+ * Copyright 2011 Adobe
4
+ * All Rights Reserved .
5
5
*/
6
6
namespace Magento \Downloadable \Model \System \Config \Source ;
7
7
8
8
/**
9
9
* Downloadable Order Item Status Source
10
- *
11
- * @author Magento Core Team <[email protected] >
12
10
*/
13
11
class Orderitemstatus implements \Magento \Framework \Option \ArrayInterface
14
12
{
15
13
/**
14
+ * Return option array
15
+ *
16
16
* @return array
17
17
*/
18
18
public function toOptionArray ()
You can’t perform that action at this time.
0 commit comments