@@ 719-729 (lines=11) @@ | ||
716 | * @throws InvalidDataTypeException |
|
717 | * @throws InvalidInterfaceException |
|
718 | */ |
|
719 | public function get_admin_edit_link() |
|
720 | { |
|
721 | EE_Registry::instance()->load_helper('URL'); |
|
722 | return EEH_URL::add_query_args_and_nonce( |
|
723 | array( |
|
724 | 'page' => 'espresso_registrations', |
|
725 | 'action' => 'edit_attendee', |
|
726 | 'post' => $this->ID(), |
|
727 | ), |
|
728 | admin_url('admin.php') |
|
729 | ); |
|
730 | } |
|
731 | ||
732 | ||
@@ 759-768 (lines=10) @@ | ||
756 | * @throws InvalidDataTypeException |
|
757 | * @throws InvalidInterfaceException |
|
758 | */ |
|
759 | public function get_admin_overview_link() |
|
760 | { |
|
761 | EE_Registry::instance()->load_helper('URL'); |
|
762 | return EEH_URL::add_query_args_and_nonce( |
|
763 | array( |
|
764 | 'page' => 'espresso_registrations', |
|
765 | 'action' => 'contact_list', |
|
766 | ), |
|
767 | admin_url('admin.php') |
|
768 | ); |
|
769 | } |
|
770 | } |
|
771 |
@@ 833-842 (lines=10) @@ | ||
830 | * |
|
831 | * @return string |
|
832 | */ |
|
833 | public function get_admin_settings_link() |
|
834 | { |
|
835 | EE_Registry::instance()->load_helper('URL'); |
|
836 | return EEH_URL::add_query_args_and_nonce( |
|
837 | array( |
|
838 | 'page' => 'espresso_messages', |
|
839 | 'action' => 'settings', |
|
840 | ), |
|
841 | admin_url('admin.php') |
|
842 | ); |
|
843 | } |
|
844 | ||
845 | /** |
|
@@ 850-859 (lines=10) @@ | ||
847 | * |
|
848 | * @return string |
|
849 | */ |
|
850 | public function get_admin_overview_link() |
|
851 | { |
|
852 | EE_Registry::instance()->load_helper('URL'); |
|
853 | return EEH_URL::add_query_args_and_nonce( |
|
854 | array( |
|
855 | 'page' => 'espresso_messages', |
|
856 | 'action' => 'default', |
|
857 | ), |
|
858 | admin_url('admin.php') |
|
859 | ); |
|
860 | } |
|
861 | ||
862 |
@@ 1804-1814 (lines=11) @@ | ||
1801 | * @return string |
|
1802 | * @throws EE_Error |
|
1803 | */ |
|
1804 | public function get_admin_details_link() |
|
1805 | { |
|
1806 | EE_Registry::instance()->load_helper('URL'); |
|
1807 | return EEH_URL::add_query_args_and_nonce( |
|
1808 | array( |
|
1809 | 'page' => 'espresso_registrations', |
|
1810 | 'action' => 'view_registration', |
|
1811 | '_REG_ID' => $this->ID(), |
|
1812 | ), |
|
1813 | admin_url('admin.php') |
|
1814 | ); |
|
1815 | } |
|
1816 | ||
1817 | /** |