1 | <?php |
||
21 | abstract class AbstractController extends \flipbox\craft\hubspot\cp\controllers\view\AbstractController |
||
22 | { |
||
23 | /** |
||
24 | * The index view template path |
||
25 | */ |
||
26 | const TEMPLATE_BASE = parent::TEMPLATE_BASE . '/settings'; |
||
27 | |||
28 | /******************************************* |
||
29 | * BASE PATHS |
||
30 | *******************************************/ |
||
31 | |||
32 | /** |
||
33 | * @return string |
||
34 | */ |
||
35 | protected function getBaseActionPath(): string |
||
39 | |||
40 | /** |
||
41 | * @return string |
||
42 | */ |
||
43 | protected function getBaseCpPath(): string |
||
47 | |||
48 | /** |
||
49 | * @param string $endpoint |
||
50 | * @return string |
||
51 | */ |
||
52 | protected function getBaseContinueEditingUrl(string $endpoint = ''): string |
||
56 | |||
57 | /******************************************* |
||
58 | * VARIABLES |
||
59 | *******************************************/ |
||
60 | |||
61 | /** |
||
62 | * @inheritdoc |
||
63 | */ |
||
64 | protected function baseVariables(array &$variables = []) |
||
77 | |||
78 | /******************************************* |
||
79 | * UPSERT VARIABLES |
||
80 | *******************************************/ |
||
81 | |||
82 | /** |
||
83 | * @param array $variables |
||
84 | */ |
||
85 | protected function insertVariables(array &$variables) |
||
91 | } |
||
92 |