APP_View_Process_Renew
Renew Listing processing class.
Package
Description Description
Renew process intended to re-publish expired listings.
This looks like a mix of New and Edit processes, since it repeats all "New" process steps, but uses existing listing ID as well as "Edit" process.
Expired listings shouldn’t be editable by users, so Renew submodule filters "edit_post_link()" and replaces standard link with process-related.
Requires theme supports:
- app-framework
- app-checkout
Methods Methods
- __construct — Construct Renew Listing processing page view.
- _add_order_item — Adds Renew Listing Item to order.
- basic_url — Retrieves the process page URL.
- check_access — Checks accessibility and redirects user if access is not allowed
- complete_process — Trigger final process actions until checkout will be removed.
- get_defaults — Retrieves module's options default values to be registered in Listing options object.
- get_process_url — Retrieves public process URL depending on context and user permissions.
- maybe_complete_process — Checks post status transition and calls complete process method.
- post_row_actions — Controls the actions set on the item row.
- remove_checkout_data — Removes data from completed checkout object.