latest news

01.09.2006

This is where you can put your latest news.

read more ...

01.09.2006

This is where you can put your latest news.

read more ...

other information

This space can be used for additional information such as a contact phone number, address or maybe even a graphic.

Controllers

A Controller is a PHP class file which extends the 'BaseController' class file. The name of the class must be the same as that of the php file i.e if you have a class file 'Main.php' the class name should be 'Main'

All controller files must be placed under the '/controllers/' directory and as mentioned above must include and extend the 'BaseController.php' class file which is placed in the same directory.

A controller can be executed by typing the following in the URL:
http://macs-framework.sourceforge.net/[ControllerClass]/[ControllerFunction]

NOTE: If you do not pass a controller and a function in the URL it calls the default controller which is 'main' and the default function which is 'index' these can be changed by opening the 'Config.php' file and changing the variables:

public $defaultController = 'main';
public $defaultFunction = 'index';


Site Powered by Mac's PHP MVC Framework Framework of the future
Design downloaded from Zeroweb.org: Free website templates, layouts, and tools.