Total Complexity | 6 |
Total Lines | 65 |
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 | self::$custom_ssl = $custom_ssl; |
||
35 | } |
||
36 | |||
37 | /** |
||
38 | * @return mixed |
||
39 | */ |
||
40 | public static function getCustomSSL() { |
||
41 | return self::$custom_ssl; |
||
42 | } |
||
43 | |||
44 | /** |
||
45 | * FoxyHelper constructor. |
||
46 | * @throws \SilverStripe\ORM\ValidationException |
||
47 | */ |
||
48 | public function __construct() |
||
53 | } |
||
54 | |||
55 | /** |
||
56 | * @return string |
||
57 | */ |
||
58 | public static function StoreURL() |
||
64 | } |
||
65 | } |
||
66 | |||
67 | /** |
||
68 | * @return string |
||
69 | * @throws \SilverStripe\ORM\ValidationException |
||
70 | */ |
||
71 | public static function FormActionURL() |
||
76 |