Login

My Color Data Object Class

class my_color {
 
    const COLOR_SPAN_BEGIN = 
             '<span style="padding:6px;margin-right:4px;background-color:';
    const COLOR_SPAN_END = ';">&nbsp;</span>';
 
 
    protected $name;
    protected $id;
 
 
    function __construct() {
    }
 
    public function getId() {
        return $this->id;
    }
 
    public function setId($id) {
        $this->id = $id;
    }
 
 
    public function getName() {
        return $this->name;
    }
 
    public function setName($name) {
        $this->name = $name;
    }
 
}