application/controllers/Common.php
/*Check the shortlisted property present or not*/
Check the shortlisted property present or not
Check the shortlisted property present or not
public function shortlisted_property_check($shortlistedId)
    {	
    	$status = $this->Common_model->shortlisted_property_check($shortlistedId);	
    	if ($status){
        	return true;            
        }else{
            $this->form_validation->set_message('shortlisted_property_check', '{field} is do not exists');
            return false;
        }
    }
public function shortlisted_property_check ( $ shortlistedId ) { $ status = $ this -> Common_model -> shortlisted_property_check ( $ shortlistedId ) ; if ( $ status ) { return true ; } else { $ this -> form_validation -> set_message ( 'shortlisted_property_check' , '{field} is do not exists' ) ; return false ; } }
Check the shortlisted property present or not
Check the shortlisted property present or not