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