SimpleProperties V1.0

SimpleProperties when called on an object, will return only simple properties of the object AND its nested properties.

Have you ever dumped an object with nested properties to screen whilst debugging, only to fatigue your scrolling finger trying to find the property you're looking for. Well, scroll no more..

Example

<!--- Get a structure of all the simple properties for an object --->
<cfset user = model("user").findByKey(key=1, include="addresses")>
<cfset simpleProps = user.simpleProperties()>
<cfdump var="#simpleProps#">

Disclaimer

Use this plugin at your own risk. All care taken, but no responsibility.
This plugin may:

Warnings: The FallbackImage plugin may be incompatible with this version of Wheels, please look for a compatible version of the plugin
The LogUserAction plugin may be incompatible with this version of Wheels, please look for a compatible version of the plugin
The RequiredFields plugin may be incompatible with this version of Wheels, please look for a compatible version of the plugin
The JsonProperties plugin may be incompatible with this version of Wheels, please look for a compatible version of the plugin
The DefaultScope plugin may be incompatible with this version of Wheels, please look for a compatible version of the plugin
The Attachments plugin may be incompatible with this version of Wheels, please look for a compatible version of the plugin
The localerb plugin may be incompatible with this version of Wheels, please look for a compatible version of the plugin
The AssetBundler plugin may be incompatible with this version of Wheels, please look for a compatible version of the plugin
The PluginPackager plugin may be incompatible with this version of Wheels, please look for a compatible version of the plugin
The inWords plugin may be incompatible with this version of Wheels, please look for a compatible version of the plugin
Application: AlexTasselV3 [Run Tests]
Framework: Wheels 1.1.8
CFML Engine: Adobe ColdFusion 9,0,1,274733
Default Data Source: alextassel
Active Environment: Design
URL Rewriting: On
URL Obfuscation: Off
Plugins: FallbackImage
LogUserAction
RequiredFields
DefaultScope
JsonProperties
simpleProperties
Attachments
AssetBundler
localerb
inWords
PluginPackager
Route: home
Controller: Wheels
Action: wheels
Additional Params: name = simpleproperties
view = plugins
Caching Stats: hits: 0, misses: 0, culls: 0
Execution Time: 110ms (view ~63ms, action ~63ms, requeststart ~16ms)