PHP Class Traq\Models\Timeline

Since: 3.0.0
Author: Jack P.
Inheritance: extends Traq\Models\Model
Mostra file Open project: nirix/traq Class Usage Examples

Public Methods

Method Description
milestoneCompletedEvent ( $user, $milestone ) : Timeline Creates a new Timeline object relating to a milestone completion event.
newTicketEvent ( $user, $ticket ) : Timeline Creates a new Timeline object relating to a new ticket event.
tableName ( $withPrefix = true )
updateTicketEvent ( $user, $ticket, $action, $status ) : Timeline Creates a new Timeline object relating to an updated ticket event.
wikiPageCreatedEvent ( $user, $page ) : Timeline Creates a new Timeline object relating to a new wiki page event.

Method Details

milestoneCompletedEvent() public static method

Creates a new Timeline object relating to a milestone completion event.
public static milestoneCompletedEvent ( $user, $milestone ) : Timeline
return Timeline

newTicketEvent() public static method

Creates a new Timeline object relating to a new ticket event.
public static newTicketEvent ( $user, $ticket ) : Timeline
return Timeline

tableName() public static method

public static tableName ( $withPrefix = true )

updateTicketEvent() public static method

Creates a new Timeline object relating to an updated ticket event.
public static updateTicketEvent ( $user, $ticket, $action, $status ) : Timeline
return Timeline

wikiPageCreatedEvent() public static method

Creates a new Timeline object relating to a new wiki page event.
public static wikiPageCreatedEvent ( $user, $page ) : Timeline
return Timeline