<?php

namespace GriffinForms\Admin\Choices;

class Form extends \GriffinForms\Admin\Choices\Format
{   
    public function getUserRoles()
    {
        $roles = \wp_roles();
        $options = $roles->get_names();
        return $options;
    }    
    
    protected function getSaveEntries()
    {
        $options = array(
                         'all_entries',
                         'no_entries',
                         'recent_ten',
                         'recent_fifty',
                         'recent_hundred',
                         'recent_thousand'
                        );
        return $options;
    } 
    
    protected function getTogglePublicAccess()
    {
        $options = array(
            'public_access',
            'registered_access'
                        );
        return $options;
    }
    
    protected function getEntryAlertsTo()
    {
        $options = array(
            'no_one',
            'specific_emails'
                        );
        return $options;
    }
    
    protected function getUserActionType()
    {
        $options = array(
            'do_nothing',
            'show_success_message',
            'redirect_user'
                        );
        return $options;
    }

    protected function getComplianceProfile()
    {
        return array(
            'standard',
            'gdpr',
            'hipaa'
        );
    }
}
