Conditions | 3 |
Paths | 4 |
Total Lines | 7 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
32 | public static function adminUrl($page = 'espresso_events', $action = 'default', $additional_params = '') |
||
33 | { |
||
34 | $url = self::URL_PREFIX . $page; |
||
35 | $url .= $action ? '&action=' . $action : ''; |
||
36 | $url .= $additional_params ? '&' . ltrim('&', ltrim('?', $additional_params)) : ''; |
||
37 | return $url; |
||
38 | } |
||
39 | |||
40 | } |