Alex Shadie
d3067e5eae
Some improvements for PHPdoc
7 years ago
Uriy Efremochkin
cc72d9a081
Code style fix
7 years ago
Mike Cao
b30d5e5fa2
Moved map method check to Engine. Added get method to Loader. Added new tests.
8 years ago
Mike Cao
ec24d78602
Allow static methods to be called using a string.
9 years ago
Mike Cao
b9b2d0fa2d
Added ability to register callbacks for class instantiation.
11 years ago
Mike Cao
6b6397764d
Use array in str_replace call.
11 years ago
Mike Cao
fdb88e842a
Fixed documentation.
11 years ago
Mike Cao
001c8ec301
Fixed error with calling stop method.
11 years ago
Mike Cao
6696c0d267
Dispatcher should check for valid callback.
11 years ago
Mike Cao
7e1a098f6c
Autoloader should not throw exceptions.
12 years ago
Mike Cao
1acb68756c
Remove duplicates from loader directories.
12 years ago
Mike Cao
84078158c3
Introduced new Engine class.
...
Core functionality has been moved to a namespaced Engine class. The
existing Flight class is now just a static pass-through to the Engine class.
Also fixed autoloading and initialization issues.
12 years ago
Mike Cao
13543f696b
Made event parameters optional
12 years ago
Mike Cao
f2bd6f4e02
Allow framework to be reinitialized
12 years ago
Mike Cao
cec890c585
Code cleanup
12 years ago
Mike Cao
1d84913d7f
Removed error filtering and fixed notice errors.
12 years ago
Bag
b8dc7ae4f3
Add support for calling methods on object instance's.
...
Allows users to pass an instance of a class in to the Flight routes function, and invoke methods on it in a non-static context.
Example usage:
$obj = new Obj();
Flight::route('/myMethod', array($obj,'myMethod'));
13 years ago
Mike Cao
ef251c818d
Removed obsolete call
13 years ago
Mike Cao
830088733d
Fixed PHP notices
13 years ago
Mike Cao
67ad454592
Fixed reference error
13 years ago
Mike Cao
5d789ceb2e
More refactoring, updated documenation
13 years ago
Mike Cao
e2f1dc99bb
Major refactoring, implemented namespaces
13 years ago