Adds an event to set of search results.
public static addSearchEvents ( array &$events, Kronolith_Event $event, stdClass $query, boolean $json ) | ||
$events | array | The list of events to update with the new event. |
$event | Kronolith_Event | An event from a search result. |
$query | stdClass | A search query. |
$json | boolean | Store the results of the events' toJson() method? |