yiisoft/yii2 — pull request #3676 by enigmatix (2014-06-02 23:03:33+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