_page_suffix = strtolower( end( $exploded_class ) ); } /** * Get the url of the page * * @return string */ public function get_url() { return add_query_arg( array( 'post_type' => AI1EC_POST_TYPE, 'page' => AI1EC_PLUGIN_NAME . '-' . $this->_page_suffix, ), ai1ec_admin_url( 'edit.php' ) ); } /** * Adds the page to the correct menu. */ abstract public function add_page(); /** * Adds the page to the correct menu. */ abstract public function add_meta_box(); /** * Display the page html */ abstract public function display_page(); /** * Handle post, likely to be deprecated to use commands. */ abstract public function handle_post(); }