| 1 | <?php |
||
| 13 | trait BaseCoreAdmin |
||
| 14 | { |
||
| 15 | |||
| 16 | /** |
||
| 17 | * Core method for going to an Event Espresso Admin page. |
||
| 18 | * @param string $page |
||
| 19 | * @param string $action |
||
| 20 | * @param string $additional_params |
||
| 21 | */ |
||
| 22 | public function amOnEventEspressoAdminPage($page = '', $action = '', $additional_params = '') |
||
| 26 | |||
| 27 | |||
| 28 | /** |
||
| 29 | * Helper method for returning an instance of the Actor. Intended to help with IDE fill out of methods. |
||
| 30 | * @return \EventEspressoAcceptanceTester; |
||
| 31 | */ |
||
| 32 | protected function actor() |
||
| 37 | |||
| 38 | |||
| 39 | /** |
||
| 40 | * Use this to set the per page option for a list table page. |
||
| 41 | * Assumes you are on a page that has this field exposed. |
||
| 42 | * @param int|string $per_page_value |
||
| 43 | */ |
||
| 44 | public function setPerPageOptionForScreen($per_page_value) |
||
| 51 | } |