00001 <?php 00002 00003 /* 00004 * This file is part of the PEIP package. 00005 * (c) 2010 Timo Michna <timomichna/yahoo.de> 00006 * 00007 * For the full copyright and license information, please view the LICENSE 00008 * file that was distributed with this source code. 00009 */ 00010 00022 class PEIP_Text_Message extends PEIP_String_Message { 00023 00024 protected $title; 00025 00026 00033 public function __construct($content, $title){ 00034 $this->setContent((string)$content); 00035 } 00036 00037 00043 public function setTitle($title){ 00044 $this->title = (string)$title; 00045 } 00046 00047 00052 public function getTitle(){ 00053 return $this->title; 00054 } 00055 00056 }