|
19 | 19 | */ |
20 | 20 | class Link extends \Magento\Framework\Model\AbstractExtensibleModel implements ComponentInterface, LinkInterface |
21 | 21 | { |
22 | | - const XML_PATH_LINKS_TITLE = 'catalog/downloadable/links_title'; |
| 22 | + public const XML_PATH_LINKS_TITLE = 'catalog/downloadable/links_title'; |
23 | 23 |
|
24 | | - const XML_PATH_DEFAULT_DOWNLOADS_NUMBER = 'catalog/downloadable/downloads_number'; |
| 24 | + public const XML_PATH_DEFAULT_DOWNLOADS_NUMBER = 'catalog/downloadable/downloads_number'; |
25 | 25 |
|
26 | | - const XML_PATH_TARGET_NEW_WINDOW = 'catalog/downloadable/links_target_new_window'; |
| 26 | + public const XML_PATH_TARGET_NEW_WINDOW = 'catalog/downloadable/links_target_new_window'; |
27 | 27 |
|
28 | | - const XML_PATH_CONFIG_IS_SHAREABLE = 'catalog/downloadable/shareable'; |
| 28 | + public const XML_PATH_CONFIG_IS_SHAREABLE = 'catalog/downloadable/shareable'; |
29 | 29 |
|
30 | | - const LINK_SHAREABLE_YES = 1; |
| 30 | + public const LINK_SHAREABLE_YES = 1; |
31 | 31 |
|
32 | | - const LINK_SHAREABLE_NO = 0; |
| 32 | + public const LINK_SHAREABLE_NO = 0; |
33 | 33 |
|
34 | | - const LINK_SHAREABLE_CONFIG = 2; |
| 34 | + public const LINK_SHAREABLE_CONFIG = 2; |
35 | 35 |
|
36 | 36 | /**#@+ |
37 | 37 | * Constants for field names |
38 | 38 | */ |
39 | | - const KEY_TITLE = 'title'; |
40 | | - const KEY_SORT_ORDER = 'sort_order'; |
41 | | - const KEY_IS_SHAREABLE = 'is_shareable'; |
42 | | - const KEY_PRICE = 'price'; |
43 | | - const KEY_NUMBER_OF_DOWNLOADS = 'number_of_downloads'; |
44 | | - const KEY_LINK_TYPE = 'link_type'; |
45 | | - const KEY_LINK_FILE = 'link_file'; |
46 | | - const KEY_LINK_FILE_CONTENT = 'link_file_content'; |
47 | | - const KEY_LINK_URL = 'link_url'; |
48 | | - const KEY_SAMPLE_TYPE = 'sample_type'; |
49 | | - const KEY_SAMPLE_FILE = 'sample_file'; |
50 | | - const KEY_SAMPLE_FILE_CONTENT = 'sample_file_content'; |
51 | | - const KEY_SAMPLE_URL = 'sample_url'; |
| 39 | + public const KEY_TITLE = 'title'; |
| 40 | + public const KEY_SORT_ORDER = 'sort_order'; |
| 41 | + public const KEY_IS_SHAREABLE = 'is_shareable'; |
| 42 | + public const KEY_PRICE = 'price'; |
| 43 | + public const KEY_NUMBER_OF_DOWNLOADS = 'number_of_downloads'; |
| 44 | + public const KEY_LINK_TYPE = 'link_type'; |
| 45 | + public const KEY_LINK_FILE = 'link_file'; |
| 46 | + public const KEY_LINK_FILE_CONTENT = 'link_file_content'; |
| 47 | + public const KEY_LINK_URL = 'link_url'; |
| 48 | + public const KEY_SAMPLE_TYPE = 'sample_type'; |
| 49 | + public const KEY_SAMPLE_FILE = 'sample_file'; |
| 50 | + public const KEY_SAMPLE_FILE_CONTENT = 'sample_file_content'; |
| 51 | + public const KEY_SAMPLE_URL = 'sample_url'; |
52 | 52 | /**#@-*/ |
53 | 53 |
|
54 | 54 | /** |
|
0 commit comments