iam using cakephp model validation. i want to display some validation error message in the model class
var $validate = array(
'name' => array(
'notempty' => array(
'rule' => array('notempty'),
'message' => 'Please Enter a Group Name',
),
'unique' => array(
'rule' => 'isUnique',
'message' => 'This Group Name is already exist'
));
i wrote the above sentence. it works fine. but i want to declare these messages globally. how to do this?. if anybody kow this please help me.