Export_Wizard
Export_Wizard class.
Namespace: WebberZone\Knowledge_Base\Pro\GitHub
Since: 3.1.0
Source: includes/pro/github/class-export-wizard.php line 25
Methods
__construct()
Constructor.
Since: 3.1.0
Line: 95
public function __construct( );
enqueue_scripts()
Enqueue scripts for the export wizard. Called by GitHub_Page when the Export tab is active.
Since: 3.1.0
Line: 124
public function enqueue_scripts( ): void;
Returns: void
render_content()
Render the export tab content. Called by GitHub_Page.
Since: 3.1.0
Line: 169
public function render_content( ): void;
Returns: void
ajax_list_articles()
AJAX handler: return only the articles that need pushing for a mapping.
Uses the same generated Markdown SHA comparison as the export job so the preview cannot disagree with the files that the job will push.
Since: 3.1.0
Line: 266
public function ajax_list_articles( ): void;
Returns: void
ajax_start()
AJAX handler: start a resumable export job from a preview token.
Since: 3.1.3
Line: 392
public function ajax_start( ): void;
Returns: void
ajax_status()
AJAX handler: return persisted export job state.
Since: 3.1.3
Line: 478
public function ajax_status( ): void;
Returns: void
ajax_process_chunk()
AJAX handler: prepare one bounded export chunk.
Since: 3.1.3
Line: 496
public function ajax_process_chunk( ): void;
Returns: void
ajax_finalize()
AJAX handler: finalize the current repository/branch group.
Since: 3.1.3
Line: 731
public function ajax_finalize( ): void;
Returns: void
cleanup_job()
Remove an expired export job.
Since: 3.1.3
Line: 949
public function cleanup_job( string $job_id ): void;
| Type | Name | Description |
|---|---|---|
string |
$job_id |
Export job identifier. |
Returns: void