src/Pages/MemberProfilePageController.php
public function doAdd($data, $form)
    {
        if ($this->addMember($form)) {
            $form->sessionMessage(
                _t('MemberProfiles.MEMBERADDED', 'The new member has been added.'),
                'good'
            );
        }

        return $this->redirectBack();
    }
public function doAdd($data, $form)
    {
        if ($this->addMember($form)) {
            $form->sessionMessage(
                _t('MemberProfiles.MEMBERADDED', 'The new member has been added.'),
                'good'
            );
        }

        return $this->redirectBack();
    }
public function doAdd ( $ data , $ form ) { if ( $ this -> addMember ( $ form ) ) { $ form -> sessionMessage ( _t ( 'MemberProfiles.MEMBERADDED' , 'The new member has been added.' ) , 'good' ) ; } return $ this -> redirectBack ( ) ; }
Saves an add member form submission into a new member object.
Saves an add member form submission into a new member object .