Generate PHP API for ComboBox and DropDownList