| Conditions | 3 |
| Paths | 4 |
| Total Lines | 8 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 37 | public function NextStepLink($nextstep = null) |
||
| 38 | { |
||
| 39 | if (!$nextstep) { |
||
| 40 | $nextstep = $this->nextstep(); |
||
| 41 | } |
||
| 42 | $anchor = Config::inst()->get(SteppedCheckoutExtension::class, 'continue_anchor'); |
||
| 43 | $anchor = $anchor ? '#' . $anchor : ''; |
||
| 44 | return $this->owner->Link($nextstep) . $anchor; |
||
| 45 | } |
||
| 47 |