Download Plugin (zip)

Stats

Version

0.1

Wheels Compatibility

1.0.3, 1.0.2, 1.0.1, 1.0

Downloads

77

Last Updated

April 16, 2010

About Plugins

Plugins allow you to extend or modify default Wheels application behavior. To use, you just drop the zip file into your plugins directory and reload your application.

Read Using and Creating Plugins for more information.

GetEnumSet

This plugin for CFWheels provides method for get all values from MySQL datatypes Enum(' and Set('.

Author

Roman Vasiliev

Project Home

http://github.com/RWizard/EnumSet-for-CFWheels

Description

Usage

  • model("table").getEnum() for all Enum and Set fields from table or
  • model("table").getEnum('field1,field2')

Result type is structure.

If fields not found, method return FALSE.

Method params:    

  • fields (string, default '') - the fields used for get Enum and Set values

Change Log