Controller - root function that returns generated in accordance with the request content. The router takes the HTTP request, razbirat it routes to a particular controller. The controller returns the generated code corresponding to the request.
WebBasic include some default controllers:
To extend the system's capabilities, you can create additional controllers. To do this, create a php file with your controller name in the directory /controllers. Register and manual of the router in /router.ini or via a function call wbRouterAdd().