yiisoft/yii2-gii — pull request #7 by enigmatix (2014-06-02 13:50:06+00:00)
Title: Added ability to generate dropdown from Enum field

Alternatively, if statement could be: if(substr($column->dbType, 0, 4) === 'enum'), however expected implemented option to be more robust across other database formats.

Created after followup on this issue: https://github.com/yiisoft/yii/issues/292#issuecomment-44780779