public function MemberStatus($param) { // Set status if ($param['status'] == 'active') { $param['status'] = 'active'; } else { if ($param['status'] == 'caution') { $param['status'] = 'caution'; } else { if ($param['status'] == 'banned') { $param['status'] = 'banned'; } else { return 0; } } } parent::MemberStatusProcess($param); }