From ae81cd8aa125bcbe573644d2f4ef0e1a3e2b9352 Mon Sep 17 00:00:00 2001 From: uckelman Date: Sun, 21 Mar 2010 14:27:04 +0000 Subject: * Separated Message tests by concrete class. * Added PhpBB3Message class stub. git-svn-id: https://vassalengine.svn.sourceforge.net/svnroot/vassalengine/site-src/trunk@6623 67b53d14-2c14-4ace-a08f-0dab2b34000c --- src/PhpBB3Message.php | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 src/PhpBB3Message.php (limited to 'src') diff --git a/src/PhpBB3Message.php b/src/PhpBB3Message.php new file mode 100644 index 0000000..5d3cced --- /dev/null +++ b/src/PhpBB3Message.php @@ -0,0 +1,49 @@ +user = $user; + $this->post = $post; + } + + public function getSource() { + return null; + } + + public function getPostId() { + return $this->post['post_id']; + } + + public function getFrom() { + return '"' . $this->user->data['username'] . '" <' + . $this->user->data['user_email'] . '>'; + } + + public function getSubject() { + return $this->post['post_subject']; + } + + public function getMessageId() { + return null; + } + + public function getInReplyTo() { + return null; + } + + public function getReferences() { + return null; + } + + public function getBody() { + return null; + } +} + +?> -- cgit v1.2.3