Backend\Modules\Profiles\Actions\Settings::loadForm PHP Метод

loadForm() приватный Метод

Loads the settings form
private loadForm ( )
    private function loadForm()
    {
        // init settings form
        $this->frm = new BackendForm('settings');
        // send email for new profile to admin
        $this->frm->addCheckbox('send_new_profile_admin_mail', $this->get('fork.settings')->get($this->URL->getModule(), 'send_new_profile_admin_mail', false));
        $this->frm->addCheckbox('overwrite_profile_notification_email', (bool) ($this->get('fork.settings')->get($this->URL->getModule(), 'profile_notification_email', null) !== null));
        $this->frm->addText('profile_notification_email', $this->get('fork.settings')->get($this->URL->getModule(), 'profile_notification_email', null));
        // send email for new profile to profile
        $this->frm->addCheckbox('send_new_profile_mail', $this->get('fork.settings')->get($this->URL->getModule(), 'send_new_profile_mail', false));
    }