<?php 
class ContactInfo extends AppModel{
	var $name='ContactInfo';
	var $useTable='contact_info';
	
	var $validate = array(
			'title' => array( 
            	'notempty' => array(
 				'rule' => 'notEmpty',
				'message' => 'Please Enter a Title!'
 				)),
				'phone1' => array( 
            	'notempty' => array(
 				'rule' => 'notEmpty',
				'message' => 'Please Enter Telephone1!'
 				)),
				'email1' => array( 
            	'notempty' => array(
 				'rule' => 'email',
				'message' => 'Please Enter a valid Email1!'
 				)),
				'email2' => array( 
            	'notempty' => array(
 				'rule' => 'email', 'allowEmpty' => true,
				'message' => 'Please Enter a valid Email2!'
 				))
             	
          	); 	
	
}



?>