function getTransactionLabel( $transactionId ) { $o = OmegaWikiAttributes::getInstance(); if ( $transactionId > 0 ) { $record = getTransactionRecord( $transactionId ); $label = timestampAsText( $record->timestamp ) . ', ' . $record->user; $summary = $record->summary; if ( $summary != "" ) $label .= ', ' . $summary; return $label; } else return ""; }
public function getViewHTML( IdStack $idPath, $value ) { if ( $value != "" ) return timestampAsText( $value ); else return ""; }