<?php
class Download extends AppModel{
var $name='Download';
var $useTable='downloads';
	
	var $validate = array(
			'title' => array( 
            	'notempty' => array(
 				'rule' => array('between', 5, 70),
				'message' => 'Title must be between 5 and 70 characters long!'
 				)),
				'image' => array( 
            	'notempty' => array(
 				'rule' => 'notEmpty',
				'message' => 'Please Upload a File!'
 				))
				); 	

}
?>