Class Index | File Index

Classes


Namespace Crayon.Validate

Holds functionality for validations
Defined in: validate.js.

Namespace Summary
Constructor Attributes Constructor Name and Description
 
Method Summary
Method Attributes Method Name and Description
<static>  
Crayon.Validate.require(doc, field, message)
Validate the field value is neither undefined nor null.
<static>  
Crayon.Validate.unchanged(newDoc, oldDoc, field, message)
Validate the field value is not changed.
Namespace Detail
Crayon.Validate
Requires:
crayon/lib/crayon.js
Method Detail
<static> Crayon.Validate.require(doc, field, message)
Validate the field value is neither undefined nor null.
Parameters:
doc
field
message

<static> Crayon.Validate.unchanged(newDoc, oldDoc, field, message)
Validate the field value is not changed.
Parameters:
newDoc
oldDoc
field
message

Documentation generated by JsDoc Toolkit 2.3.0 on Sat Dec 05 2009 00:01:30 GMT+0900 (JST)