Semantic MediaWiki and related extensions
Static Public Member Functions | List of all members
SWLHooks Class Reference

Static Public Member Functions

static onDataUpdate (SMWStore $store, SMWSemanticData $newData)
 
static onGroupNotify (SWLGroup $group, array $userIDs, SWLChangeSet $changes)
 
static addToAdminLinks (&$admin_links_tree)
 

Member Function Documentation

◆ addToAdminLinks()

static SWLHooks::addToAdminLinks ( $admin_links_tree)
static

Adds a link to Admin Links page.

Since
0.1
Returns
true

◆ onDataUpdate()

static SWLHooks::onDataUpdate ( SMWStore  $store,
SMWSemanticData  $newData 
)
static

Handle the updateDataBefore hook of SMW >1.6, which gets called every time the value of a propery changes somewhere.

Since
0.1
Parameters
SMWStore$store
SMWChangeSet$changes
Returns
true

◆ onGroupNotify()

static SWLHooks::onGroupNotify ( SWLGroup  $group,
array  $userIDs,
SWLChangeSet  $changes 
)
static

Handles group notification.

Since
0.1
Parameters
SWLGroup$group
array$userIDs
SMWChangeSet$changes
Returns
true

The documentation for this class was generated from the following file:

About | General disclaimer | Privacy policy