ColdFusion on Wheels
An open source CFML framework
inspired by Ruby on Rails.
  • Welcome, guest!
  • Sign up
  • Log in
  • Download
  • Plugins
  • Documentation
  • Community
  • Events
  • Blog
Feeds
Home / Documentation / Wheels API / Model Initialization Functions

Wheels API

Categories

  • Model Initialization Functions
  • Model Class Functions
  • Model Object Functions
  • View Helper Functions
  • Controller Initialization Functions
  • Controller Request Functions
  • Global Helper Functions
  • Configuration Functions

Printable Cheat Sheet

  • API Cheat Sheet (PDF)

Model Initialization Functions

These methods are called from the init() methods of your model files.

Association Functions

  • belongsTo()
  • hasMany()
  • hasOne()

Callback Functions

  • afterCreate()
  • afterDelete()
  • afterFind()
  • afterInitialization()
  • afterNew()
  • afterSave()
  • afterUpdate()
  • afterValidation()
  • afterValidationOnCreate()
  • afterValidationOnUpdate()
  • beforeCreate()
  • beforeDelete()
  • beforeSave()
  • beforeUpdate()
  • beforeValidation()
  • beforeValidationOnCreate()
  • beforeValidationOnUpdate()

Miscellaneous Functions

  • dataSource()
  • property()
  • table()

Validation Functions

  • validate()
  • validateOnCreate()
  • validateOnUpdate()
  • validatesConfirmationOf()
  • validatesExclusionOf()
  • validatesFormatOf()
  • validatesInclusionOf()
  • validatesLengthOf()
  • validatesNumericalityOf()
  • validatesPresenceOf()
  • validatesUniquenessOf()

ColdFusion hosting provided by
Vivio icon Vivio Technologies.

© 2010 ColdFusion on Wheels
Wheels is licensed under the Apache License, Version 2.0.