1 | <?php |
||
19 | abstract class CheckoutStepController extends Page_Controller |
||
20 | { |
||
21 | protected $step = null; |
||
22 | |||
23 | public function init() |
||
43 | |||
44 | /** |
||
45 | * Force the controller action |
||
46 | * |
||
47 | * @param string $action |
||
48 | * |
||
49 | * @return SSViewer |
||
50 | */ |
||
51 | public function getViewer($action) |
||
59 | |||
60 | /** |
||
61 | * Get a relative link to the current controller |
||
62 | * |
||
63 | * @param null $action |
||
64 | * |
||
65 | * @return string |
||
66 | */ |
||
67 | public function Link($action = null) |
||
75 | |||
76 | /** |
||
77 | * Get a link to the next step |
||
78 | * |
||
79 | * @return string |
||
80 | */ |
||
81 | public function getNextStepLink() |
||
85 | |||
86 | /** |
||
87 | * Get the checkout steps |
||
88 | * |
||
89 | * @return \ArrayList |
||
90 | */ |
||
91 | public function CheckoutSteps() |
||
95 | } |
||
96 |