| @@ 1237-1246 (lines=10) @@ | ||
| 1234 | * @see EEI_Admin_Links for comments |
|
| 1235 | * @return string |
|
| 1236 | */ |
|
| 1237 | public function get_admin_edit_link() { |
|
| 1238 | EE_Registry::instance()->load_helper('URL'); |
|
| 1239 | return EEH_URL::add_query_args_and_nonce( array( |
|
| 1240 | 'page' => 'espresso_events', |
|
| 1241 | 'action' => 'edit', |
|
| 1242 | 'post' => $this->ID() |
|
| 1243 | ), |
|
| 1244 | admin_url( 'admin.php' ) |
|
| 1245 | ); |
|
| 1246 | } |
|
| 1247 | ||
| 1248 | ||
| 1249 | ||
| @@ 1255-1263 (lines=9) @@ | ||
| 1252 | * @see EEI_Admin_Links for comments |
|
| 1253 | * @return string |
|
| 1254 | */ |
|
| 1255 | public function get_admin_settings_link() { |
|
| 1256 | EE_Registry::instance()->load_helper('URL'); |
|
| 1257 | return EEH_URL::add_query_args_and_nonce( array( |
|
| 1258 | 'page' => 'espresso_events', |
|
| 1259 | 'action' => 'default_event_settings' |
|
| 1260 | ), |
|
| 1261 | admin_url( 'admin.php' ) |
|
| 1262 | ); |
|
| 1263 | } |
|
| 1264 | ||
| 1265 | ||
| 1266 | ||
| @@ 1274-1283 (lines=10) @@ | ||
| 1271 | * @see EEI_Admin_Links for comments |
|
| 1272 | * @return string |
|
| 1273 | */ |
|
| 1274 | public function get_admin_overview_link() { |
|
| 1275 | ||
| 1276 | EE_Registry::instance()->load_helper('URL'); |
|
| 1277 | return EEH_URL::add_query_args_and_nonce( array( |
|
| 1278 | 'page' => 'espresso_events', |
|
| 1279 | 'action' => 'default' |
|
| 1280 | ), |
|
| 1281 | admin_url( 'admin.php' ) |
|
| 1282 | ); |
|
| 1283 | } |
|
| 1284 | ||
| 1285 | } |
|
| 1286 | ||