00001 <?php 00015 class Insertable { 00017 protected $display; 00019 protected $pre; 00021 protected $post; 00022 00028 public function __construct( $display, $pre = '', $post = '' ) { 00029 $this->display = $display; 00030 $this->pre = $pre; 00031 $this->post = $post; 00032 } 00033 00034 public function getPreText() { 00035 return $this->pre; 00036 } 00037 00038 public function getPostText() { 00039 return $this->post; 00040 } 00041 00042 public function getDisplayText() { 00043 return $this->display; 00044 } 00045 }