\bvw\ControllerUser

User controller, whose function is to redirect petitios related to users

Summary

Methods
Properties
Constants
postCreate()
getVoiceaccess()
No public properties found
No constants found
setupLayout()
No protected properties found
N/A
getAPIUrl()
getUsernameRules()
No private properties found
N/A

Methods

postCreate()

postCreate()

Returns the view to create a user

getVoiceaccess()

getVoiceaccess(string $username) : string

Returns the viewto perform the voice acces for user $username

Parameters

string $username

Returns

string

setupLayout()

setupLayout() : void

Setup the layout used by the controller.

getAPIUrl()

getAPIUrl() : string

Checks config file to return the URL for the API

Returns

string

getUsernameRules()

getUsernameRules() : \bvw\Controller\array:string

Returns an array with the validation rules for the username

Returns

\bvw\Controller\array:string