MyController
in package
MyController Controller
This is a demo controller to demonstrate Framework usage.
Table of Contents
Methods
- email() : void
- email Method
- save() : void
- save Method
- setCookie() : void
- setCookie Method
- unsetCookie() : void
- unsetCookie Method
- upload() : void
- upload Method
Methods
email()
email Method
public
email() : void
This method handles sending an email.
Tags
save()
save Method
public
save() : void
This method handles saving data.
Tags
setCookie()
setCookie Method
public
setCookie() : void
This method sets a cookie with the provided name and value, and performs validation to ensure that both the cookie name and value are not empty.
Tags
unsetCookie()
unsetCookie Method
public
unsetCookie() : void
This method unsets a cookie with the provided name, and performs validation to ensure that the cookie name is not empty.
Tags
upload()
upload Method
public
upload() : void
This method handles file uploads.