web-base/core/Driver/SQL/Column/EnumColumn.class.php

18 lines
331 B
PHP

<?php
namespace Driver\SQL\Column;
class EnumColumn extends Column {
private $values;
public function __construct($name, $values, $nullable=false, $defaultValue=NULL) {
parent::__construct($name, $nullable, $defaultValue);
$this->values = $values;
}
public function getValues() { return $this->values; }
}
?>