<?php 
class MarketCategory extends AppModel{
	var $name='MarketCategory';
	var $useTable='market_categories';

				
				var $validate = array(
    'title' => array(
        'rule' => 'notEmpty',  
        'message' => 'Enter title!'
    ),
	'image_caption' => array(
        'rule' => 'notEmpty',
        'message' => 'Maximum characters exceeded!'
    ),
	'summary' => array(
        'rule' => 'notEmpty',
        'message' => 'Enter Summary!'
    ),
	/*'main_cat_id' =>array('notempty' => array(
 				'rule' => 'notEmpty',
				'message' => 'Please Select a Main-category for which the category belongs to.'
 				))*/
);
	
	
}



?>