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