|
| __construct ( $config=[]) |
|
| setCache (Cache $cache) |
|
| register () |
|
| deregister () |
|
| isRegistered ( $name) |
|
| getHandlers ( $name) |
|
| onIsApprovedRevision ( $title, $latestRevID) |
|
| onChangeRevision ( $title, ?Revision $revision) |
|
| onOverrideRevisionID ( $title, &$latestRevID) |
|
| onInitProperties ( $registry) |
|
| onUpdateDataBefore ( $store, $semanticData) |
|
| onApprovedRevsRevisionApproved ( $output, $title, $rev_id, $content) |
|
| onApprovedRevsFileRevisionApproved ( $parser, $title, $timestamp, $sha1) |
|
| onChangeFile ( $title, &$file) |
|
GNU GPL v2+
- Since
- 1.0
- Author
- mwjames
◆ __construct()
SMW\ApprovedRevs\Hooks::__construct |
( |
|
$config = [] | ) |
|
◆ deregister()
SMW\ApprovedRevs\Hooks::deregister |
( |
| ) |
|
◆ getHandlers()
SMW\ApprovedRevs\Hooks::getHandlers |
( |
|
$name | ) |
|
- Since
- 1.0
- Parameters
-
- Returns
- array
◆ hasPropertyCollisions()
static SMW\ApprovedRevs\Hooks::hasPropertyCollisions |
( |
|
$var | ) |
|
|
static |
◆ initExtension()
static SMW\ApprovedRevs\Hooks::initExtension |
( |
& |
$vars | ) |
|
|
static |
◆ isRegistered()
SMW\ApprovedRevs\Hooks::isRegistered |
( |
|
$name | ) |
|
- Since
- 1.0
- Parameters
-
- Returns
- boolean
◆ onApprovedRevsFileRevisionApproved()
SMW\ApprovedRevs\Hooks::onApprovedRevsFileRevisionApproved |
( |
|
$parser, |
|
|
|
$title, |
|
|
|
$timestamp, |
|
|
|
$sha1 |
|
) |
| |
- See also
- ??
- Since
- 1.0
- Parameters
-
Parser | $parser | |
Title | $title | |
integer | $timestamp | |
string | $sha1 | |
◆ onApprovedRevsRevisionApproved()
SMW\ApprovedRevs\Hooks::onApprovedRevsRevisionApproved |
( |
|
$output, |
|
|
|
$title, |
|
|
|
$rev_id, |
|
|
|
$content |
|
) |
| |
- See also
- ??
- Since
- 1.0
- Parameters
-
ParserOutput | $output | |
Title | $title | |
integer | $rev_id | |
string | $content | |
◆ onChangeFile()
SMW\ApprovedRevs\Hooks::onChangeFile |
( |
|
$title, |
|
|
& |
$file |
|
) |
| |
◆ onChangeRevision()
SMW\ApprovedRevs\Hooks::onChangeRevision |
( |
|
$title, |
|
|
?Revision |
$revision |
|
) |
| |
- Since
- 1.0
- Parameters
-
Title | $title | |
| ?Revision | $revision |
◆ onExtensionFunction()
static SMW\ApprovedRevs\Hooks::onExtensionFunction |
( |
| ) |
|
|
static |
◆ onInitProperties()
SMW\ApprovedRevs\Hooks::onInitProperties |
( |
|
$registry | ) |
|
◆ onIsApprovedRevision()
SMW\ApprovedRevs\Hooks::onIsApprovedRevision |
( |
|
$title, |
|
|
|
$latestRevID |
|
) |
| |
- Since
- 1.0
- Parameters
-
Title | $title | |
integer | $latestRevID | |
◆ onOverrideRevisionID()
SMW\ApprovedRevs\Hooks::onOverrideRevisionID |
( |
|
$title, |
|
|
& |
$latestRevID |
|
) |
| |
- Since
- 1.0
- Parameters
-
Title | $title | |
integer | &$latestRevID | |
◆ onUpdateDataBefore()
SMW\ApprovedRevs\Hooks::onUpdateDataBefore |
( |
|
$store, |
|
|
|
$semanticData |
|
) |
| |
◆ register()
SMW\ApprovedRevs\Hooks::register |
( |
| ) |
|
◆ setCache()
SMW\ApprovedRevs\Hooks::setCache |
( |
Cache |
$cache | ) |
|
The documentation for this class was generated from the following file:
- SemanticApprovedRevs/src/Hooks.php