diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-07-23 14:50:59 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-07-23 14:50:59 -0400 |
commit | a823cc1d08535539f850711c0b9edb5b648f1960 (patch) | |
tree | 0988d0fd6dba3fe304efcf3fadc0b6f0f715fa67 /app/EventBuilder/ProjectFileEventBuilder.php | |
parent | b6119e7dee84869a619dedccd9c80df4422a4f5b (diff) |
NotificationModel refactoring
Diffstat (limited to 'app/EventBuilder/ProjectFileEventBuilder.php')
-rw-r--r-- | app/EventBuilder/ProjectFileEventBuilder.php | 29 |
1 files changed, 28 insertions, 1 deletions
diff --git a/app/EventBuilder/ProjectFileEventBuilder.php b/app/EventBuilder/ProjectFileEventBuilder.php index 70514a99..6698f78a 100644 --- a/app/EventBuilder/ProjectFileEventBuilder.php +++ b/app/EventBuilder/ProjectFileEventBuilder.php @@ -33,7 +33,7 @@ class ProjectFileEventBuilder extends BaseEventBuilder * @access public * @return GenericEvent|null */ - public function build() + public function buildEvent() { $file = $this->projectFileModel->getById($this->fileId); @@ -47,4 +47,31 @@ class ProjectFileEventBuilder extends BaseEventBuilder 'project' => $this->projectModel->getById($file['project_id']), )); } + + /** + * Get event title with author + * + * @access public + * @param string $author + * @param string $eventName + * @param array $eventData + * @return string + */ + public function buildTitleWithAuthor($author, $eventName, array $eventData) + { + return ''; + } + + /** + * Get event title without author + * + * @access public + * @param string $eventName + * @param array $eventData + * @return string + */ + public function buildTitleWithoutAuthor($eventName, array $eventData) + { + return ''; + } } |