Skip to content

Instantly share code, notes, and snippets.

Alabama:
- Autauga County
- Baldwin County
- Barbour County
- Bibb County
- Blount County
- Bullock County
- Butler County
- Calhoun County
- Chambers County
@chrisdpeters
chrisdpeters / Call.cfc
Created February 23, 2012 21:13 — forked from tdm00/Call.cfc
Single Table Inheritance & Nested Properties
<cfcomponent extends="Model" output="false">
<cfset this.modelName = ListLast(GetMetaData(this).name, ".")>
<cffunction name="init">
<cfset table(name="calls")>
<!--- Validations --->
<cfset validatesPresenceOf(properties="callStatusId") />
# unpacked plugin folders
plugins/**/*
# files directory where uploads go
files
# DBMigrate plugin: generated SQL
db/sql
# AssetBundler plugin: generated bundles