<?php
/**
*
* @package luc
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
* @author Emily Brand
*
* Minimum Requirement: PHP 5.2
*/
class FieldStructure {
public $id;
public $type;
public $size;
function FieldStructure($id, $type, $size) {
$this->id = $id;
$this->type = $type;
$this->size = $size;
}
function getId() {
return $this->id;
}
function getType() {
return $this->type;
}
function getSize() {
if($this->size)
return "({$this->size})";
else
return "";
}
}
?>