Go to the documentation of this file.00001 <?php
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00015 class GoogleChartPiece
00016 {
00017 private $title = null;
00018 private $color = null;
00019 private $value = null;
00020
00024 public static function create()
00025 {
00026 return new self;
00027 }
00028
00032 public function setTitle($title)
00033 {
00034 $this->title = $title;
00035
00036 return $this;
00037 }
00038
00039 public function getTitle()
00040 {
00041 return $this->title;
00042 }
00043
00047 public function setColor(Color $color)
00048 {
00049 $this->color = $color;
00050
00051 return $this;
00052 }
00053
00057 public function getColor()
00058 {
00059 return $this->color;
00060 }
00061
00065 public function setValue($value)
00066 {
00067 $this->value = $value;
00068
00069 return $this;
00070 }
00071
00072 public function getValue()
00073 {
00074 return $this->value;
00075 }
00076 }
00077 ?>