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:
- Not work as described
- Cause that rash to re-appear