/** * The constructor * * @param $name (string) the field name * @param $table (DataTable) the DataTable * @param $optionArrays (string array) all options */ function DataFieldEnum($name, &$table, $optionArrays) { parent::DataField($name, $table, DATATYPE_ENUM); $this->_optionArrays = $optionArrays; }