1 | <?php |
||
13 | class CoreAdmin |
||
14 | { |
||
15 | |||
16 | const URL_PREFIX = 'admin.php?page='; |
||
17 | |||
18 | |||
19 | const ADMIN_LIST_TABLE_NEXT_PAGE_CLASS = '.next-page'; |
||
20 | |||
21 | |||
22 | /** |
||
23 | * Get the EE admin url for the given properties. |
||
24 | * Note, this is JUST the endpoint for the admin route. It is expected that the actor/test would be calling this |
||
25 | * with `amOnAdminPage` action. |
||
26 | * |
||
27 | * @param string $page |
||
28 | * @param string $action |
||
29 | * @param string $additional_params |
||
30 | * @return string |
||
31 | */ |
||
32 | public static function adminUrl($page = 'espresso_events', $action = 'default', $additional_params = '') |
||
39 | |||
40 | } |