Stud.IP  4.0
 All Data Structures Namespaces Files Functions Variables Groups
NotificationObserver Class Reference

Static Public Member Functions

static initialize ()
 
static observeFileRef ($event,\FileRef $fileRef)
 
static observeFolder ($event,\Folder $folder)
 

Detailed Description

This class observes changes in file refs and folders and re-indexes if applicable.

GPL2 or any later version

Since
Stud.IP 4.1

Member Function Documentation

static initialize ( )
static

Observe every change in files, file refs and folders.

static observeFileRef (   $event,
\FileRef  $fileRef 
)
static

Observe changes of FileRefs. Depending on the event either create, drop or update the index.

Parameters
FileRef$fileRefthe observed file
static observeFolder (   $event,
\Folder  $folder 
)
static

Observe changes of Folders. Depending on the event either create, drop or update the indexes.

Parameters
Folder$folderthe observed folder

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