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

}
?>