Total Complexity | 6 |
Total Lines | 67 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
9 | class FoxyHelper extends \FoxyCart_Helper |
||
10 | { |
||
11 | use Configurable; |
||
12 | use Injectable; |
||
13 | use Extensible; |
||
14 | |||
15 | /** |
||
16 | * @var |
||
17 | */ |
||
18 | private static $secret; |
||
|
|||
19 | |||
20 | /** |
||
21 | * @var |
||
22 | */ |
||
23 | protected static $cart_url; |
||
24 | |||
25 | /** |
||
26 | * @var |
||
27 | */ |
||
28 | private static $custom_ssl; |
||
29 | |||
30 | /** |
||
31 | * @param $custom_ssl |
||
32 | */ |
||
33 | public static function setCustomSSL($custom_ssl) |
||
34 | { |
||
35 | self::$custom_ssl = $custom_ssl; |
||
36 | } |
||
37 | |||
38 | /** |
||
39 | * @return mixed |
||
40 | */ |
||
41 | public static function getCustomSSL() |
||
42 | { |
||
43 | return self::$custom_ssl; |
||
44 | } |
||
45 | |||
46 | /** |
||
47 | * FoxyHelper constructor. |
||
48 | * @throws \SilverStripe\ORM\ValidationException |
||
49 | */ |
||
50 | public function __construct() |
||
55 | } |
||
56 | |||
57 | /** |
||
58 | * @return string |
||
59 | */ |
||
60 | public static function StoreURL() |
||
66 | } |
||
67 | } |
||
68 | |||
69 | /** |
||
70 | * @return string |
||
71 | * @throws \SilverStripe\ORM\ValidationException |
||
72 | */ |
||
73 | public static function FormActionURL() |
||
78 |