[ Index ] |
PHP Cross Reference of GlotPress |
[Source view] [Print] [Project Stats]
Routes: GP_Route_Glossary class
File Size: | 202 lines (6 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
GP_Route_Glossary:: (8 methods):
new_get()
new_post()
edit_get()
edit_post()
delete_get()
delete_post()
cannot_edit_glossary_and_redirect()
cannot_delete_glossary_and_redirect()
Class: GP_Route_Glossary - X-Ref
Core class used to implement the glossary route.new_get() X-Ref |
No description |
new_post() X-Ref |
No description |
edit_get( $glossary_id ) X-Ref |
No description |
edit_post( $glossary_id ) X-Ref |
No description |
delete_get( $glossary_id ) X-Ref |
Displays the delete page for glossaries. param: int $glossary_id The id of the glossary to delete. since: 2.0.0 |
delete_post( $glossary_id ) X-Ref |
Delete a glossary. param: int $glossary_id The id of the glossary to delete. since: 2.0.0 |
cannot_edit_glossary_and_redirect( $glossary ) X-Ref |
Checks to see if the current user can edit a glossary or not. If they cannot it redirects back to the project page. return: bool param: GP_Glossary $glossary The glossary object to check. since: 1.0.0 |
cannot_delete_glossary_and_redirect( $glossary ) X-Ref |
Checks to see if the current user can delete a glossary or not. If they cannot it redirects back to the project page. return: bool param: GP_Glossary $glossary The glossary object to check. since: 2.0.0 |
Generated: Sun Dec 22 01:01:04 2024 | Cross-referenced by PHPXref 0.7.1 |