1 | <?php |
||
24 | class LegacyEditorAssetManager extends AssetManager |
||
25 | { |
||
26 | |||
27 | const JS_HANDLE_UNDERSCORE = 'underscore'; |
||
28 | const JS_HANDLE_ACCOUNTING_CORE = 'ee-accounting-core'; |
||
29 | const JS_HANDLE_ACCOUNTING = 'ee-accounting'; |
||
30 | |||
31 | |||
32 | /** |
||
33 | * @var EE_Currency_Config $currency_config |
||
34 | */ |
||
35 | protected $currency_config; |
||
36 | |||
37 | /** |
||
38 | * CoreAssetRegister constructor. |
||
39 | * |
||
40 | * @param AssetCollection $assets |
||
41 | * @param DomainInterface $domain |
||
42 | * @param Registry $registry |
||
43 | * @param EE_Currency_Config $currency_config |
||
44 | */ |
||
45 | public function __construct( |
||
54 | |||
55 | |||
56 | |||
57 | /** |
||
58 | * @throws InvalidDataTypeException |
||
59 | * @throws InvalidEntityException |
||
60 | * @throws DuplicateCollectionIdentifierException |
||
61 | * @throws DomainException |
||
62 | */ |
||
63 | public function addAssets() |
||
67 | |||
68 | |||
69 | /** |
||
70 | * accounting.js for performing client-side calculations |
||
71 | * |
||
72 | * @throws DomainException |
||
73 | * @throws DuplicateCollectionIdentifierException |
||
74 | * @throws InvalidDataTypeException |
||
75 | * @throws InvalidEntityException |
||
76 | * @since $VID:$ |
||
77 | */ |
||
78 | private function loadAccountingJs() |
||
105 | |||
106 | |||
107 | /** |
||
108 | * Returns configuration data for the accounting-js library. |
||
109 | * |
||
110 | * @return array |
||
111 | * @since $VID:$ |
||
112 | */ |
||
113 | private function getAccountingSettings() |
||
134 | } |
||
135 |