lajt MVC
php :: framework
Overview
What, why, when, etc...
Instalation
Example app
To Do
Classes - required
controller
events (abstract class)
sessions
template
language (base class)
Inferfaces - required
for template class
Classes - useful
db (MySQL/PgSQL wrapper)
forms
logs
requests
Constants - useful
for requests class
download
lajtMVC_0.1.1.tar.gz (complete test app)
Language class
Public method - only for inherited class :
static
init()
- Initialization of language class. This method must exist in inherited class and it must have body like this:
public static function init() { parent::getInstance(__CLASS__); }
Public methods:
static
controllerError(parameter1)
- return error string from error code for controller errors. As a parameter is error code.
static
eventError(parameter1)
- return error string from error code for events errors. As a parameter is error code.
static
otherError(parameter1)
- return error string from error code for other errors. As a parameter is error code.