Skip to content

Miscellaneous

properties()

properties() — returns any

Returns a structure of all the properties with their names as keys and the values of the property as values.

properties() <!--- Get a structure of all the properties for an object --->
<cfset user = model("user").findByKey(1)>
<cfset props = user.properties()>