<?php | |
class Category { | |
#***************************************************************************** | |
# | |
# category.class.php | |
# | |
# Author: Denis Roy | |
# Date: 2005-10-25 | |
# | |
# Description: Functions and modules related to Category objects (for projects) | |
# | |
# HISTORY: | |
# | |
#***************************************************************************** | |
var $category_id = 0; | |
var $description = ""; | |
var $image_name = ""; | |
function getCategoryID() { | |
return $this->category_id; | |
} | |
function getDescription() { | |
return $this->description; | |
} | |
function getImageName() { | |
return $this->image_name; | |
} | |
function setCategoryID($_category_id) { | |
$this->category_id = $_category_id; | |
} | |
function setDescription($_description) { | |
$this->description = $_description; | |
} | |
function setImageName($_image_name) { | |
$this->image_name = $_image_name; | |
} | |
} | |
?> |