The controller means it's control the module data to class.The controller has the methods which will be triggered when requested through action parameter. The controller use to developer for manuplating the modules. Example for the developer handled by the frameworkcontroller.
class ClsClient extends ClsNaanalController
{
stmt;
}
ClsClient has developer created controller
ClsNaanalController has frameWork controller .
Inputs are
Mode represents the value of actions parameter in Url. Actions are create,update,insert,delete,preview,list
Example : unicomtech.in/naanal/index.php?page=client&action=insert
Here insert as mode
The Table created for module. so the table and module name are same
Example: module as client means table name also client
Module represent the value of page parameter in Url.
Example:unicomtech.in/naanal/index.php?page=client&action=insert
Here client as module name
Each file have seperate module folder.For example
PDO – PHP Data Objects – is a database access layer providing a uniform method of access to multiple databases.
A section of Application where group of users can login.The section of application where no login needed is called Guestpanel
The redirect url is used to direct the application to different url
Example:$this->redirect="page=client&action=list";
arrField contains all fields in the module table
Number of records display in list view
It have request method.$objNaanalRequest
It have get method.$objNaanalGet
It have post method.$objNaanalPost
input needed to request in naanalData
form is an instance of wrapper object