Inherited Methods
Class: BaseController
- BaseController::__construct()
- The no argument constructor.
- BaseController::__loadLibrary()
- This function can be used anywhere in order to load a specific library in order to allow it to be used later on.
- BaseController::__loadModel()
- This function is used statically in order to load any of the models required for the application. this function one by one or as an array. an array, each on of them is included sequentially.
Class: Base
- Base::__construct()
- Constructor, will create the Base object setting up anything that it requires.
- Base::libxml_display_error()
- Base::libxml_display_errors()
- Base::__getErrorMessage()
- This function is used in order to get external access to the list of error messages from a non-Base object class.
- Base::__handleView()
- This function is used internally in order to handle the actual processing of everything to do with the view. pieces and then present it in the specified order (as decided by where it is within the array.
- Base::__initialize()
- This function is used in order to initialize the configuration object if needed as well as set up the error messages based on the XML file located in the directory as speicified by the configuration file.
- Base::__loadController()
- This fucntion is used in order load a specific controller into the memory so that it is able to be used later on (from the controller folder).
- Base::__loadHelper()
- This function can be used anywhere in order to load a specific helper library in order to allow it to be used later on.
- Base::__loadView()
- This function is used to actually load the specified view on the page.
- Base::__loadViews()
- This function is used in order to load multiple views and display them on the page.
- Base::__loadXML()
- This function is used in order to load any flat XML file into an array.
Class Details
This application is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.
This application is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. This application is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
Tags:
- author - Andrew Judd <contact@andrewjudd.ca>
- copyright - Andrew Judd, 2010
- project - Mini MVC
- description - This is the default controller which is used by the application if no controlers are specified (within the URI).
- name - app/controllers/main.php
- license - GPLv3
[ Top ]
Class Variables
Class Methods
__construct
MainController __construct(
)
[line 28]
Tags:
- access - public
Overrides BaseController::__construct() (The no argument constructor.)
Parameters:
[ Top ]
about
[ Top ]
index
[ Top ]