| [ Index ] |
PHP Cross Reference of GlotPress |
[Source view] [Print] [Project Stats]
Routes: GP_Route_Translation_Set class
| File Size: | 195 lines (6 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
GP_Route_Translation_Set:: (9 methods):
new_get()
new_post()
single()
edit_get()
edit_post()
delete_post()
delete_get()
cannot_edit_set_and_redirect()
get_set_project_and_locale_from_set_id_or_404()
Class: GP_Route_Translation_Set - X-Ref
Core class used to implement the translation set route.| new_get() X-Ref |
| No description |
| new_post() X-Ref |
| No description |
| single( $set_id ) X-Ref |
| No description |
| edit_get( $set_id ) X-Ref |
| No description |
| edit_post( $set_id ) X-Ref |
| Saves settings for a translation set and redirects back to the project locales page. since: 1.0.0 param: int $set_id A translation set id to edit the settings of. |
| delete_post( $set_id ) X-Ref |
| Deletes a translation set. since: 2.0.0 param: int $set_id The id of the translation set to delete. |
| delete_get( $set_id ) X-Ref |
| Displays the delete page for translations sets. since: 2.0.0 param: int $set_id The id of the translation set to delete. |
| cannot_edit_set_and_redirect( $set ) X-Ref |
| Determines whether the current user can edit a translation set. param: GP_Translation_Set $set The translation set to edit. |
| get_set_project_and_locale_from_set_id_or_404( $set_id ) X-Ref |
| No description |
| Generated: Thu Nov 13 01:01:28 2025 | Cross-referenced by PHPXref 0.7.1 |