/** * Get a query builder for events * @return QueryBuilder */ public static function getQueryBuilder() { return parent::getQueryBuilder()->eventsOnly(); }