Skip to content

Commit

Permalink
Update hooks.md
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
mwjames committed Feb 18, 2017
1 parent 7be89a5 commit b9b0afb
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/technical/hooks.md
Expand Up @@ -41,7 +41,7 @@ Implementing a hook should be made in consideration of the expected performance

## 2.5

### `SMW::Job::AfterUpdateDispatcherJobComplete`
### SMW::Job::AfterUpdateDispatcherJobComplete

Hook allows to add extra jobs after `UpdateDispatcherJob` has been processed.

Expand All @@ -55,7 +55,7 @@ Hook allows to add extra jobs after `UpdateDispatcherJob` has been processed.
} );
</pre>

### `SMW::SQLStore::Installer::AfterCreateTablesComplete`
### SMW::SQLStore::Installer::AfterCreateTablesComplete

Hook allows to add extra tables after the creation process as been finalized.

Expand All @@ -66,13 +66,13 @@ Hook allows to add extra tables after the creation process as been finalized.
$messageReporter->reportMessage( '...' );

// See documentation in the available TableBuilder interface
// $tableBuilder->...
$tableBuilder->create( ... );

return true;
} );
</pre>

### `SMW::SQLStore::Installer::AfterDropTablesComplete`
### SMW::SQLStore::Installer::AfterDropTablesComplete

Hook allows to remove extra tables after the drop process as been finalized.

Expand All @@ -83,7 +83,7 @@ Hook allows to remove extra tables after the drop process as been finalized.
$messageReporter->reportMessage( '...' );

// See documentation in the available TableBuilder interface
// $tableBuilder->...
$tableBuilder->drop( ... );

return true;
} );
Expand Down

0 comments on commit b9b0afb

Please sign in to comment.