PHP Class Fisharebest\Webtrees\Module\RecentChangesModule

Inheritance: extends Fisharebest\Webtrees\Module\AbstractModule, implements Fisharebest\Webtrees\Module\ModuleBlockInterface
Datei anzeigen Open project: fisharebest/webtrees

Public Methods

Method Description
configureBlock ( $block_id )
getBlock ( $block_id, $template = true, $cfg = [] )
getDescription ( )
getTitle ( )
isGedcomBlock ( )
isUserBlock ( )
loadAjax ( )

Private Methods

Method Description
changesList ( array $records, string $sort, boolean $show_user ) : string Format a table of events
changesTable ( Fisharebest\Webtrees\GedcomRecord[] $records, string $sort, boolean $show_user ) : string Format a table of events
getRecentChanges ( Fisharebest\Webtrees\Tree $tree, integer $jd ) : Fisharebest\Webtrees\GedcomRecord[] Find records that have changed since a given julian day
sortByChangeDateAndName ( Fisharebest\Webtrees\GedcomRecord $a, Fisharebest\Webtrees\GedcomRecord $b ) : integer Sort the records by (1) last change date and (2) name
sortByNameAndChangeDate ( Fisharebest\Webtrees\GedcomRecord $a, Fisharebest\Webtrees\GedcomRecord $b ) : integer Sort the records by (1) name and (2) last change date

Method Details

configureBlock() public method

public configureBlock ( $block_id )

getBlock() public method

public getBlock ( $block_id, $template = true, $cfg = [] )

getDescription() public method

public getDescription ( )

getTitle() public method

public getTitle ( )

isGedcomBlock() public method

public isGedcomBlock ( )

isUserBlock() public method

public isUserBlock ( )

loadAjax() public method

public loadAjax ( )